summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorTianyi Wang <glglwty@users.noreply.github.com>2015-12-09 23:18:24 +0800
committerTianyi Wang <glglwty@users.noreply.github.com>2015-12-09 23:18:24 +0800
commitf13f488eb611f5b012918e3d1b02ba9260088124 (patch)
treeb1d1e51b72e4ad553296ea2ab3302ceed48cbe51 /src/liballoc
parent2e48b593ca613c5deea5503e0dd1d94dce70ab54 (diff)
downloadrust-f13f488eb611f5b012918e3d1b02ba9260088124.tar.gz
rust-f13f488eb611f5b012918e3d1b02ba9260088124.zip
fixed a typo in comments
srong -> strong in liballoc/arc.rs
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/arc.rs2
1 files changed, 1 insertions, 1 deletions
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<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