Auto merge of #30285 - glglwty:patch-1, r=alexcrichton

srong -> strong in liballoc/arc.rs
This commit is contained in:
bors 2015-12-10 01:24:54 +00:00
commit 9267a3a222

View File

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