Skip to content

Commit 9267a3a

Browse files
committed
Auto merge of #30285 - glglwty:patch-1, r=alexcrichton
srong -> strong in liballoc/arc.rs
2 parents 81ae8be + f13f488 commit 9267a3a

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
@@ -428,7 +428,7 @@ impl<T: Clone> Arc<T> {
428428
// weak count, there's no chance the ArcInner itself could be
429429
// deallocated.
430430
if this.inner().strong.compare_and_swap(1, 0, Acquire) != 1 {
431-
// Another srong pointer exists; clone
431+
// Another strong pointer exists; clone
432432
*this = Arc::new((**this).clone());
433433
} else if this.inner().weak.load(Relaxed) != 1 {
434434
// Relaxed suffices in the above because this is fundamentally an

0 commit comments

Comments
 (0)