Skip to content

Commit 7646fcf

Browse files
committed
Auto merge of #29452 - SimonSapin:patch-14, r=alexcrichton
… I think.
2 parents 4d11db6 + 4e8b870 commit 7646fcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/liballoc/raw_vec.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ impl<T> RawVec<T> {
354354
// panic.
355355

356356
// Don't actually need any more capacity.
357-
// Wrapping in case they give a bas `used_cap`
357+
// Wrapping in case they give a bad `used_cap`
358358
if self.cap().wrapping_sub(used_cap) >= needed_extra_cap {
359359
return;
360360
}

0 commit comments

Comments
 (0)