about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-04-04 07:20:04 +0000
committerbors <bors@rust-lang.org>2015-04-04 07:20:04 +0000
commit6971727d45494b8362262bb41a45f2c0c5f162bc (patch)
tree4e5fcbf512e9c285756d84bdf15b77c03d800b63 /src/liballoc
parentbcae782aa8acfba62d3446c61f17290c17e7de05 (diff)
parentb62c11023c4fdbb1e6ef9f074310a8e95db7827e (diff)
downloadrust-6971727d45494b8362262bb41a45f2c0c5f162bc.tar.gz
rust-6971727d45494b8362262bb41a45f2c0c5f162bc.zip
Auto merge of #24009 - Manishearth:rollup, r=Manishearth
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 8b884c56505..a39f125e01c 100644
--- a/src/liballoc/arc.rs
+++ b/src/liballoc/arc.rs
@@ -446,7 +446,7 @@ impl<T> Weak<T> {
     /// ```
     pub fn upgrade(&self) -> Option<Arc<T>> {
         // We use a CAS loop to increment the strong count instead of a
-        // fetch_add because once the count hits 0 is must never be above 0.
+        // fetch_add because once the count hits 0 it must never be above 0.
         let inner = self.inner();
         loop {
             let n = inner.strong.load(SeqCst);