From cd1e8a242ef1a5a3fa492a6031b6a47b3fac9856 Mon Sep 17 00:00:00 2001 From: Sunface Date: Thu, 27 Jun 2024 17:02:47 +0800 Subject: [PATCH] Update en/src/collections/vector.md --- en/src/collections/vector.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/src/collections/vector.md b/en/src/collections/vector.md index e9de6f8..b416eec 100644 --- a/en/src/collections/vector.md +++ b/en/src/collections/vector.md @@ -130,7 +130,7 @@ fn main() { assert_eq!(slice1, slice2); // A slice can also be mutable, in which - // case mutating it will mutate its underlying Vec + // case mutating it will mutate its underlying Vec. // Note: slice and &Vec are different let vec_ref: &mut Vec = &mut v; (*vec_ref).push(4);