paniced -> panicked

This commit is contained in:
r00ster 2021-12-19 21:08:19 +01:00 committed by GitHub
parent 41c3017c82
commit 8fb9a8570b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1641,7 +1641,7 @@ fn drop(&mut self) {
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);