Remove the unused native argument from spawn_named_with_send_on_failure.

This commit is contained in:
Ms2ger 2015-01-05 08:58:00 +01:00
parent 76b0e2d3c7
commit c4e44b568a
4 changed files with 4 additions and 5 deletions

View file

@ -25,8 +25,7 @@ pub fn spawn_named_with_send_on_failure<T: Send>(name: &'static str,
state: task_state::TaskState,
f: proc(): Send,
msg: T,
dest: Sender<T>,
_native: bool) {
dest: Sender<T>) {
let future_result = TaskBuilder::new().named(name).try_future(proc() {
task_state::initialize(state);
rtinstrument::instrument(f);