Auto merge of #29452 - SimonSapin:patch-14, r=alexcrichton

… I think.
This commit is contained in:
bors 2015-10-29 20:46:44 +00:00
commit 7646fcfe54

View file

@ -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;
}