Skip to content

Commit 4e8b870

Browse files
committed
Typo fix
… I think.
1 parent 01fd4d6 commit 4e8b870

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/liballoc/raw_vec.rs

Lines changed: 1 addition & 1 deletion
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)