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 @@ -368,7 +368,7 @@ impl Builder {
368
368
///
369
369
/// # Panics
370
370
///
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`
372
372
/// to recover from such errors.
373
373
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
374
374
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 {
386
386
///
387
387
/// # Panics
388
388
///
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`
390
390
/// to recover from such errors.
391
391
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
392
392
pub fn scoped < ' a , T , F > ( f : F ) -> JoinGuard < ' a , T > where
You can’t perform that action at this time.
0 commit comments