File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -367,7 +367,7 @@ impl Builder {
367
367
///
368
368
/// # Panics
369
369
///
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`
371
371
/// to recover from such errors.
372
372
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
373
373
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 {
385
385
///
386
386
/// # Panics
387
387
///
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`
389
389
/// to recover from such errors.
390
390
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
391
391
pub fn scoped < ' a , T , F > ( f : F ) -> JoinGuard < ' a , T > where
You can’t perform that action at this time.
0 commit comments