From a637487fad89e160f887f24eaf018ef316fcba5b Mon Sep 17 00:00:00 2001 From: mckzm <134839822+mckzm@users.noreply.github.com> Date: Sat, 15 Jun 2024 13:40:17 +0900 Subject: [PATCH] vector/slicing - improve the phrasing --- en/src/collections/vector.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/src/collections/vector.md b/en/src/collections/vector.md index ea16799..bf21c7a 100644 --- a/en/src/collections/vector.md +++ b/en/src/collections/vector.md @@ -129,8 +129,8 @@ fn main() { assert_eq!(slice1, slice2); - // Slices can also be mutable, in which - // case mutating them will mutate the underlying Vec + // A slice can also be mutable, in which + // 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);