From 864cd8d58e6a9e160a725315a424f4b59bd86475 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Sat, 16 Jan 2016 16:34:51 +0100 Subject: Fix typo --- src/libstd/panic.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd') diff --git a/src/libstd/panic.rs b/src/libstd/panic.rs index 8c0a785a102..3677bd27b16 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(|| { -- cgit 1.4.1-3-g733a5