Skip to content

Commit f526826

Browse files
committed
Rollup merge of #24283 - apasel422:patch-2, r=alexcrichton
2 parents 1e3fd25 + 7bf1da1 commit f526826

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/thread/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ impl Builder {
367367
///
368368
/// # Panics
369369
///
370-
/// Panicks if the OS fails to create a thread; use `Builder::spawn`
370+
/// Panics if the OS fails to create a thread; use `Builder::spawn`
371371
/// to recover from such errors.
372372
#[stable(feature = "rust1", since = "1.0.0")]
373373
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 {
385385
///
386386
/// # Panics
387387
///
388-
/// Panicks if the OS fails to create a thread; use `Builder::scoped`
388+
/// Panics if the OS fails to create a thread; use `Builder::scoped`
389389
/// to recover from such errors.
390390
#[stable(feature = "rust1", since = "1.0.0")]
391391
pub fn scoped<'a, T, F>(f: F) -> JoinGuard<'a, T> where

0 commit comments

Comments
 (0)