Skip to content

Commit 9ebb53e

Browse files
committed
Rollup merge of rust-lang#23997 - richo:typos, r=huonw
Kinda hoped I'd spot something else for this PR, but then didn't.
2 parents d83f49b + 5a700b2 commit 9ebb53e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/liballoc/arc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ impl<T> Weak<T> {
446446
/// ```
447447
pub fn upgrade(&self) -> Option<Arc<T>> {
448448
// We use a CAS loop to increment the strong count instead of a
449-
// fetch_add because once the count hits 0 is must never be above 0.
449+
// fetch_add because once the count hits 0 it must never be above 0.
450450
let inner = self.inner();
451451
loop {
452452
let n = inner.strong.load(SeqCst);

0 commit comments

Comments
 (0)