Skip to content

Commit f13f488

Browse files
committed
fixed a typo in comments
srong -> strong in liballoc/arc.rs
1 parent 2e48b59 commit f13f488

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)