diff options
| author | Richo Healey <richo@psych0tik.net> | 2015-04-02 15:08:10 -0700 |
|---|---|---|
| committer | Richo Healey <richo@psych0tik.net> | 2015-04-02 15:08:10 -0700 |
| commit | 5a700b26e8cffee1d1ffbebf6d58a25a0cda1a41 (patch) | |
| tree | ff88432ff01cbdb7e27259b971efc162f0043dec /src/liballoc | |
| parent | 2e3b0c051dca9880bf66b5366dccd2e0bb424b99 (diff) | |
| download | rust-5a700b26e8cffee1d1ffbebf6d58a25a0cda1a41.tar.gz rust-5a700b26e8cffee1d1ffbebf6d58a25a0cda1a41.zip | |
liballoc: fix typo
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/arc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/arc.rs b/src/liballoc/arc.rs index f87c450eda5..c07a6063d14 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); |
