diff options
| author | Andrew Paseltiner <apaseltiner@gmail.com> | 2015-04-10 12:42:36 -0400 |
|---|---|---|
| committer | Andrew Paseltiner <apaseltiner@gmail.com> | 2015-04-10 12:42:36 -0400 |
| commit | 7bf1da1283874e0e968e76e95d2168c1624c2ce2 (patch) | |
| tree | 23df3c20fe6a302cf5be6d23a40c38e8a48f9684 /src/libstd/thread | |
| parent | 9539627ac76ca37d617a329dbd79c50c59cf59ee (diff) | |
| download | rust-7bf1da1283874e0e968e76e95d2168c1624c2ce2.tar.gz rust-7bf1da1283874e0e968e76e95d2168c1624c2ce2.zip | |
s/Panicks/Panics/
Diffstat (limited to 'src/libstd/thread')
| -rw-r--r-- | src/libstd/thread/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/thread/mod.rs b/src/libstd/thread/mod.rs index 5fe6e80d6e9..9d5f776d01f 100644 --- a/src/libstd/thread/mod.rs +++ b/src/libstd/thread/mod.rs @@ -368,7 +368,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 { @@ -386,7 +386,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 |
