Skip to content

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
… I think.
  • Loading branch information
SimonSapin committed Oct 29, 2015
1 parent 01fd4d6 commit 4e8b870
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/liballoc/raw_vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ impl<T> RawVec<T> {
// panic.

// Don't actually need any more capacity.
// Wrapping in case they give a bas `used_cap`
// Wrapping in case they give a bad `used_cap`
if self.cap().wrapping_sub(used_cap) >= needed_extra_cap {
return;
}
Expand Down

0 comments on commit 4e8b870

Please sign in to comment.