From 8fb9a8570bafa1084152ac0f00dcee28e9746cfc Mon Sep 17 00:00:00 2001 From: r00ster Date: Sun, 19 Dec 2021 21:08:19 +0100 Subject: [PATCH] paniced -> panicked --- library/alloc/src/vec/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ impl Vec { 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);