diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-04-04 10:55:44 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-04-04 10:55:44 +0530 |
| commit | 9ebb53ea5f5312b8a95be4435fa167b7189e9e16 (patch) | |
| tree | bc53197a4d962acf77e02aca800c0ef67f9a5888 /src/liballoc | |
| parent | d83f49b436590bb929f624db1524f5eac8b38a21 (diff) | |
| parent | 5a700b26e8cffee1d1ffbebf6d58a25a0cda1a41 (diff) | |
| download | rust-9ebb53ea5f5312b8a95be4435fa167b7189e9e16.tar.gz rust-9ebb53ea5f5312b8a95be4435fa167b7189e9e16.zip | |
Rollup merge of #23997 - richo:typos, r=huonw
Kinda hoped I'd spot something else for this PR, but then didn't.
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 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); |
