Remove spawn_named_native.

All threads are native now, so this was just an alias for spawn_named.
This commit is contained in:
Ms2ger 2015-01-05 09:20:40 +01:00
parent c4e44b568a
commit e6b2715186
3 changed files with 4 additions and 9 deletions

View file

@ -16,10 +16,6 @@ pub fn spawn_named<S: IntoMaybeOwned<'static>>(name: S, f: proc():Send) {
});
}
pub fn spawn_named_native<S: IntoMaybeOwned<'static>>(name: S, f: proc():Send) {
spawn_named(name, f)
}
/// Arrange to send a particular message to a channel if the task fails.
pub fn spawn_named_with_send_on_failure<T: Send>(name: &'static str,
state: task_state::TaskState,