From 074cfcbf2d5fcddfc44f4a30ec096d01868176bd Mon Sep 17 00:00:00 2001 From: Pedro de Brito Date: Tue, 28 Jan 2020 07:59:07 +0100 Subject: [PATCH] fix: typo in vec.rs --- src/liballoc/vec.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/liballoc/vec.rs b/src/liballoc/vec.rs index e9cbf627846b5..26a7812f58e01 100644 --- a/src/liballoc/vec.rs +++ b/src/liballoc/vec.rs @@ -176,7 +176,7 @@ use crate::raw_vec::RawVec; /// ``` /// /// In Rust, it's more common to pass slices as arguments rather than vectors -/// when you just want to provide a read access. The same goes for [`String`] and +/// when you just want to provide read access. The same goes for [`String`] and /// [`&str`]. /// /// # Capacity and reallocation