about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorMartin Lindhe <martin-commit@ubique.se>2017-11-21 15:33:45 +0100
committerMartin Lindhe <martin-commit@ubique.se>2017-11-21 15:33:45 +0100
commitece9a57d1b6e10ef2ad1dffd19fd6033cdc760ee (patch)
tree9c6d182d6229e4c1fd08fc5064a17e63bad89d89 /src/libcore
parentebda7662dbb79ab0a9feb79d367d0818c23ff1dc (diff)
downloadrust-ece9a57d1b6e10ef2ad1dffd19fd6033cdc760ee.tar.gz
rust-ece9a57d1b6e10ef2ad1dffd19fd6033cdc760ee.zip
fix some typos
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/fmt/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/fmt/mod.rs b/src/libcore/fmt/mod.rs
index e2d61890c30..cc324b585bc 100644
--- a/src/libcore/fmt/mod.rs
+++ b/src/libcore/fmt/mod.rs
@@ -952,7 +952,7 @@ pub trait UpperExp {
 /// assert_eq!(output, "Hello world!");
 /// ```
 ///
-/// Please note that using [`write!`] might be preferrable. Example:
+/// Please note that using [`write!`] might be preferable. Example:
 ///
 /// ```
 /// use std::fmt::Write;