about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2015-07-03 00:13:02 -0700
committerCorey Farwell <coreyf@rwell.org>2015-07-03 00:13:02 -0700
commite2b6b02e3a22948ff18d18fe9b92ce222cc50ed3 (patch)
tree2383656c062a1b2c06e3569d8ac70b0922668880 /src/liballoc
parent4c246ecb64d147a2853747dedf1db76d06094891 (diff)
downloadrust-e2b6b02e3a22948ff18d18fe9b92ce222cc50ed3.tar.gz
rust-e2b6b02e3a22948ff18d18fe9b92ce222cc50ed3.zip
Fix 'Relaaxed' typo in code comment
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/arc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/arc.rs b/src/liballoc/arc.rs
index 024d64cc838..2a47fd29bd6 100644
--- a/src/liballoc/arc.rs
+++ b/src/liballoc/arc.rs
@@ -211,7 +211,7 @@ impl<T: ?Sized> Arc<T> {
                reason = "Weak pointers may not belong in this module.")]
     pub fn downgrade(&self) -> Weak<T> {
         loop {
-            // This Relaaxed is OK because we're checking the value in the CAS
+            // This Relaxed is OK because we're checking the value in the CAS
             // below.
             let cur = self.inner().weak.load(Relaxed);