mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 00:03:43 +00:00
commit
23f69235ad
@ -1641,7 +1641,7 @@ impl<T, A: Allocator> Vec<T, A> {
|
||||
let ptr = self.vec.as_mut_ptr();
|
||||
let len = self.vec.len();
|
||||
|
||||
/* How many items were left when `same_bucket` paniced.
|
||||
/* How many items were left when `same_bucket` panicked.
|
||||
* Basically vec[read..].len() */
|
||||
let items_left = len.wrapping_sub(self.read);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user