about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2016-01-17 17:25:48 +0530
committerManish Goregaokar <manishsmail@gmail.com>2016-01-17 17:25:48 +0530
commit3ba057b0b1b35660c8b3f2a1a38643de2c0c019b (patch)
tree1532366c84248c0bfb885c417397ba98204d7c0e /src/libstd
parentdbca989721febcb52e2597810196ae05388b153e (diff)
parent864cd8d58e6a9e160a725315a424f4b59bd86475 (diff)
downloadrust-3ba057b0b1b35660c8b3f2a1a38643de2c0c019b.tar.gz
rust-3ba057b0b1b35660c8b3f2a1a38643de2c0c019b.zip
Rollup merge of #30957 - GuillaumeGomez:patch-3, r=apasel422
r? @Manishearth
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/panic.rs2
1 files changed, 1 insertions, 1 deletions
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(|| {