mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
paniced -> panicked
This commit is contained in:
parent
41c3017c82
commit
8fb9a8570b
@ -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