]> git.lizzy.rs Git - rust.git/commitdiff
Update mod.rs
authoroliver-giersch <oliver.giersch@googlemail.com>
Sat, 13 Oct 2018 16:24:47 +0000 (18:24 +0200)
committerGitHub <noreply@github.com>
Sat, 13 Oct 2018 16:24:47 +0000 (18:24 +0200)
removes trailing whitespaces, replaces TODO with FIXME

src/libstd/thread/mod.rs

index e05a5dc458b0e7355890f5d625f834e09ce19cc3..e1dad9e131153a5ead2aa2b27e06550eea396c59 100644 (file)
@@ -389,8 +389,8 @@ pub fn spawn<F, T>(self, f: F) -> io::Result<JoinHandle<T>> where
     {
         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<JoinHandle<T>> where
         F: FnOnce() -> T, F: Send + 'a, T: Send + 'a
@@ -425,7 +425,7 @@ pub unsafe fn spawn_unchecked<'a, F, T>(self, f: F) -> io::Result<JoinHandle<T>>
             native: Some(imp::Thread::new(stack_size, Box::new(main))?),
             thread: my_thread,
             packet: Packet(my_packet),
-        }))   
+        }))
     }
 }