Rollup merge of #68592 - pdbrito:master, r=jonas-schievink

fix: typo in vec.rs
This commit is contained in:
Yuki Okushi 2020-01-29 09:34:51 +09:00 committed by GitHub
commit 8d3273cdba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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