From a52b474b525ded83ebbf9b96db4d7d225497587c Mon Sep 17 00:00:00 2001 From: oliver-giersch Date: Sat, 13 Oct 2018 18:24:47 +0200 Subject: [PATCH] Update mod.rs removes trailing whitespaces, replaces TODO with FIXME --- src/libstd/thread/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libstd/thread/mod.rs b/src/libstd/thread/mod.rs index e05a5dc458b0..e1dad9e13115 100644 --- a/src/libstd/thread/mod.rs +++ b/src/libstd/thread/mod.rs @@ -389,8 +389,8 @@ impl Builder { { unsafe { self.spawn_unchecked(f) } } - - /// TODO: Doc + + /// FIXME: Doc #[unstable(feature = "thread_spawn_unchecked", issue = "0")] pub unsafe fn spawn_unchecked<'a, F, T>(self, f: F) -> io::Result> where F: FnOnce() -> T, F: Send + 'a, T: Send + 'a @@ -425,7 +425,7 @@ impl Builder { native: Some(imp::Thread::new(stack_size, Box::new(main))?), thread: my_thread, packet: Packet(my_packet), - })) + })) } }