diff --git a/library/alloc/src/vec/mod.rs b/library/alloc/src/vec/mod.rs index 7185f3de18a..16df2931080 100644 --- a/library/alloc/src/vec/mod.rs +++ b/library/alloc/src/vec/mod.rs @@ -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);