about summary refs log tree commit diff
path: root/src/libstd/panic.rs
diff options
context:
space:
mode:
authorBastien Orivel <eijebong@bananium.fr>2017-08-11 20:34:14 +0200
committerBastien Orivel <eijebong@bananium.fr>2017-08-12 14:01:11 +0200
commit3ab86fbab281ca059731c31fa2aee5d9afc7e6dc (patch)
tree27758d734abda3918162b48a379a9dbf556a4a84 /src/libstd/panic.rs
parent59f6b8338e866b022941ff78ccc82ccef73a52fd (diff)
downloadrust-3ab86fbab281ca059731c31fa2aee5d9afc7e6dc.tar.gz
rust-3ab86fbab281ca059731c31fa2aee5d9afc7e6dc.zip
Fix some typos
Diffstat (limited to 'src/libstd/panic.rs')
-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 10b3209257e..97b09b7e2ad 100644
--- a/src/libstd/panic.rs
+++ b/src/libstd/panic.rs
@@ -37,7 +37,7 @@ pub use panicking::{take_hook, set_hook, PanicInfo, Location};
 /// In Rust a function can "return" early if it either panics or calls a
 /// function which transitively panics. This sort of control flow is not always
 /// anticipated, and has the possibility of causing subtle bugs through a
-/// combination of two criticial components:
+/// combination of two critical components:
 ///
 /// 1. A data structure is in a temporarily invalid state when the thread
 ///    panics.