Skip to content

Commit

Permalink
Auto merge of #29452 - SimonSapin:patch-14, r=alexcrichton
Browse files Browse the repository at this point in the history
… I think.
  • Loading branch information
bors committed Oct 29, 2015
2 parents 4d11db6 + 4e8b870 commit 7646fcf
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 7646fcf

Please sign in to comment.