Skip to content

Commit

Permalink
liballoc: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
richo committed Apr 2, 2015
1 parent 2e3b0c0 commit 5a700b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/liballoc/arc.rs
Expand Up @@ -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);
Expand Down

0 comments on commit 5a700b2

Please sign in to comment.