Skip to content

Commit 7bf1da1

Browse files
committed
s/Panicks/Panics/
1 parent 9539627 commit 7bf1da1

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
@@ -368,7 +368,7 @@ impl Builder {
368368
///
369369
/// # Panics
370370
///
371-
/// Panicks if the OS fails to create a thread; use `Builder::spawn`
371+
/// Panics if the OS fails to create a thread; use `Builder::spawn`
372372
/// to recover from such errors.
373373
#[stable(feature = "rust1", since = "1.0.0")]
374374
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 {
386386
///
387387
/// # Panics
388388
///
389-
/// Panicks if the OS fails to create a thread; use `Builder::scoped`
389+
/// Panics if the OS fails to create a thread; use `Builder::scoped`
390390
/// to recover from such errors.
391391
#[stable(feature = "rust1", since = "1.0.0")]
392392
pub fn scoped<'a, T, F>(f: F) -> JoinGuard<'a, T> where

0 commit comments

Comments
 (0)