Skip to content

Commit

Permalink
Auto merge of #92108 - r00ster91:patch-6, r=jyn514
Browse files Browse the repository at this point in the history
paniced -> panicked
  • Loading branch information
bors committed Dec 20, 2021
2 parents 84f962a + 8fb9a85 commit 23f6923
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 23f6923

Please sign in to comment.