1
Fork 0

Fix 'Relaaxed' typo in code comment

This commit is contained in:
Corey Farwell 2015-07-03 00:13:02 -07:00
parent 4c246ecb64
commit e2b6b02e3a

View file

@ -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);