about summary refs log tree commit diff
path: root/src/libstd/thread
diff options
context:
space:
mode:
authoroliver-giersch <oliver.giersch@googlemail.com>2018-10-13 18:24:47 +0200
committerGitHub <noreply@github.com>2018-10-13 18:24:47 +0200
commita52b474b525ded83ebbf9b96db4d7d225497587c (patch)
tree0144790f071d25429f1f5bf1bd2768719860b1f2 /src/libstd/thread
parent719a59586add4a4782c2e2a85e5d5fb97749d8e5 (diff)
downloadrust-a52b474b525ded83ebbf9b96db4d7d225497587c.tar.gz
rust-a52b474b525ded83ebbf9b96db4d7d225497587c.zip
Update mod.rs
removes trailing whitespaces, replaces TODO with FIXME
Diffstat (limited to 'src/libstd/thread')
-rw-r--r--src/libstd/thread/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/thread/mod.rs b/src/libstd/thread/mod.rs
index e05a5dc458b..e1dad9e1311 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<JoinHandle<T>> 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),
-        }))   
+        }))
     }
 }