Link & primitive using relative link

This commit is contained in:
Ivan Tham 2020-09-03 23:02:27 +08:00 committed by GitHub
parent 20a68666d8
commit 4df64905ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -287,6 +287,7 @@ use crate::raw_vec::RawVec;
/// [`insert`]: Vec::insert /// [`insert`]: Vec::insert
/// [`reserve`]: Vec::reserve /// [`reserve`]: Vec::reserve
/// [owned slice]: Box /// [owned slice]: Box
/// [`&`]: ../../std/primitive.reference.html
#[stable(feature = "rust1", since = "1.0.0")] #[stable(feature = "rust1", since = "1.0.0")]
#[cfg_attr(not(test), rustc_diagnostic_item = "vec_type")] #[cfg_attr(not(test), rustc_diagnostic_item = "vec_type")]
pub struct Vec<T> { pub struct Vec<T> {