From f13f488eb611f5b012918e3d1b02ba9260088124 Mon Sep 17 00:00:00 2001 From: Tianyi Wang Date: Wed, 9 Dec 2015 23:18:24 +0800 Subject: [PATCH] fixed a typo in comments srong -> strong in liballoc/arc.rs --- src/liballoc/arc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/liballoc/arc.rs b/src/liballoc/arc.rs index f8483a8ed9b..787b686c4d0 100644 --- a/src/liballoc/arc.rs +++ b/src/liballoc/arc.rs @@ -428,7 +428,7 @@ impl Arc { // 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