diff --git a/src/libstd/panic.rs b/src/libstd/panic.rs index 8c0a785a10256..3677bd27b1619 100644 --- a/src/libstd/panic.rs +++ b/src/libstd/panic.rs @@ -136,7 +136,7 @@ pub trait RefRecoverSafe {} /// /// let mut variable = 4; /// -/// // This code will not compile becuause the closure captures `&mut variable` +/// // This code will not compile because the closure captures `&mut variable` /// // which is not considered panic safe by default. /// /// // panic::recover(|| {