From 864cd8d58e6a9e160a725315a424f4b59bd86475 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Sat, 16 Jan 2016 16:34:51 +0100 Subject: [PATCH] Fix typo --- src/libstd/panic.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(|| {