about summary refs log tree commit diff
path: root/src/libstd/panic.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-08-12 05:52:19 +0000
committerbors <bors@rust-lang.org>2017-08-12 05:52:19 +0000
commitbffc973da8a7045d6ad5c678eab6fd57ab49ed54 (patch)
treec82789a97e71ccb047782f41ffc96b7500f78706 /src/libstd/panic.rs
parent2fa5340318111d562af2ef4897c75916731d55a2 (diff)
parentea5be96bab45a68d5877acdfab88404df7376209 (diff)
downloadrust-bffc973da8a7045d6ad5c678eab6fd57ab49ed54.tar.gz
rust-bffc973da8a7045d6ad5c678eab6fd57ab49ed54.zip
Auto merge of #43794 - Eijebong:fix_typos, r=lukaramu,steveklanik,imperio
Fix some typos

I wrote a really naive script and found those typos in the documentation.
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 58356bc43ee..10b3209257e 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 cricial components:
+/// combination of two criticial components:
 ///
 /// 1. A data structure is in a temporarily invalid state when the thread
 ///    panics.