Skip to content

Commit

Permalink
paniced -> panicked
Browse files Browse the repository at this point in the history
  • Loading branch information
wooster0 authored Dec 19, 2021
1 parent 41c3017 commit 8fb9a85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/alloc/src/vec/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 8fb9a85

Please sign in to comment.