mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-25 21:34:18 +00:00
fix: typo in vec.rs
This commit is contained in:
parent
67fae2241b
commit
074cfcbf2d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user