Skip to content

Commit

Permalink
Auto merge of rust-lang#30285 - glglwty:patch-1, r=alexcrichton
Browse files Browse the repository at this point in the history
srong -> strong in liballoc/arc.rs
  • Loading branch information
bors committed Dec 10, 2015
2 parents 81ae8be + f13f488 commit 9267a3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/liballoc/arc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ impl<T: Clone> Arc<T> {
// weak count, there's no chance the ArcInner itself could be
// deallocated.
if this.inner().strong.compare_and_swap(1, 0, Acquire) != 1 {
// Another srong pointer exists; clone
// Another strong pointer exists; clone
*this = Arc::new((**this).clone());
} else if this.inner().weak.load(Relaxed) != 1 {
// Relaxed suffices in the above because this is fundamentally an
Expand Down

0 comments on commit 9267a3a

Please # to comment.