mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 17:53:56 +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