about summary refs log tree commit diff
path: root/src/libcore/sync
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2016-10-02 14:45:49 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2016-10-02 14:45:49 +0200
commita638580c0864eae433ce5f80a5634c49dd18f73d (patch)
tree97e18646e37cba0f278ba5738679c10fcde14333 /src/libcore/sync
parentfe36876ce144e6f30fa6d0d5647e54ade812b169 (diff)
downloadrust-a638580c0864eae433ce5f80a5634c49dd18f73d.tar.gz
rust-a638580c0864eae433ce5f80a5634c49dd18f73d.zip
fix typos
Diffstat (limited to 'src/libcore/sync')
-rw-r--r--src/libcore/sync/atomic.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/sync/atomic.rs b/src/libcore/sync/atomic.rs
index f5f37be52de..c4fe68dfa43 100644
--- a/src/libcore/sync/atomic.rs
+++ b/src/libcore/sync/atomic.rs
@@ -95,7 +95,7 @@ pub struct AtomicBool {
 #[cfg(target_has_atomic = "8")]
 #[stable(feature = "rust1", since = "1.0.0")]
 impl Default for AtomicBool {
-    /// Creates an `AtomicBool` initialised as false.
+    /// Creates an `AtomicBool` initialized to `false`.
     fn default() -> Self {
         Self::new(false)
     }