Skip to content

Commit e2b6b02

Browse files
committed
Fix 'Relaaxed' typo in code comment
1 parent 4c246ec commit e2b6b02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/liballoc/arc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ impl<T: ?Sized> Arc<T> {
211211
reason = "Weak pointers may not belong in this module.")]
212212
pub fn downgrade(&self) -> Weak<T> {
213213
loop {
214-
// This Relaaxed is OK because we're checking the value in the CAS
214+
// This Relaxed is OK because we're checking the value in the CAS
215215
// below.
216216
let cur = self.inner().weak.load(Relaxed);
217217

0 commit comments

Comments
 (0)