about summary refs log tree commit diff
path: root/src/libstd/thread
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-04-11 18:31:59 +0000
committerbors <bors@rust-lang.org>2015-04-11 18:31:59 +0000
commit6790b0e51967b1487728d155e0800a1ed03a30d3 (patch)
tree51c11cb951751d408b68c401a487c5f2fbe26157 /src/libstd/thread
parent67a8f61730418768f07d8ed0f9735a31d0c5d84d (diff)
parent0a2885ad944aa1a5f60a72a7551b1b45367637f6 (diff)
downloadrust-6790b0e51967b1487728d155e0800a1ed03a30d3.tar.gz
rust-6790b0e51967b1487728d155e0800a1ed03a30d3.zip
Auto merge of #24328 - Manishearth:rollup, r=Manishearth
Diffstat (limited to 'src/libstd/thread')
-rw-r--r--src/libstd/thread/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/thread/mod.rs b/src/libstd/thread/mod.rs
index 10c79671c0c..f893ae243bb 100644
--- a/src/libstd/thread/mod.rs
+++ b/src/libstd/thread/mod.rs
@@ -367,7 +367,7 @@ impl Builder {
 ///
 /// # 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 {
@@ -385,7 +385,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