]> git.lizzy.rs Git - rust.git/commitdiff
s/Panicks/Panics/
authorAndrew Paseltiner <apaseltiner@gmail.com>
Fri, 10 Apr 2015 16:42:36 +0000 (12:42 -0400)
committerAndrew Paseltiner <apaseltiner@gmail.com>
Fri, 10 Apr 2015 16:42:36 +0000 (12:42 -0400)
src/libstd/thread/mod.rs

index 5fe6e80d6e93a0c851b2c857e9d220b6f6c14051..9d5f776d01f78af38da86ba2c09e8c2e5d9cf626 100644 (file)
@@ -368,7 +368,7 @@ fn spawn_inner<T: Send>(self, f: Thunk<(), T>) -> io::Result<JoinInner<T>> {
 ///
 /// # Panics
 ///
-/// Panicks if the OS fails to create a thread; use `Builder::spawn`
+/// Panics if the OS fails to create a thread; use `Builder::spawn`
 /// to recover from such errors.
 #[stable(feature = "rust1", since = "1.0.0")]
 pub fn spawn<F>(f: F) -> JoinHandle where F: FnOnce(), F: Send + 'static {
@@ -386,7 +386,7 @@ pub fn spawn<F>(f: F) -> JoinHandle where F: FnOnce(), F: Send + 'static {
 ///
 /// # Panics
 ///
-/// Panicks if the OS fails to create a thread; use `Builder::scoped`
+/// Panics if the OS fails to create a thread; use `Builder::scoped`
 /// to recover from such errors.
 #[stable(feature = "rust1", since = "1.0.0")]
 pub fn scoped<'a, T, F>(f: F) -> JoinGuard<'a, T> where