Rollup merge of #76023 - pickfire:patch-4, r=jyn514

Liballoc extend use intra doc link

Superseeds https://github.com/rust-lang/rust/pull/75729/commits

r? @jyn514
This commit is contained in:
Aleksey Kladov 2020-08-31 12:51:42 +02:00 committed by GitHub
commit e59eb4e0fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1609,7 +1609,7 @@ pub fn resize(&mut self, new_len: usize, value: T) {
/// assert_eq!(vec, [1, 2, 3, 4]);
/// ```
///
/// [`extend`]: #method.extend
/// [`extend`]: Vec::extend
#[stable(feature = "vec_extend_from_slice", since = "1.6.0")]
pub fn extend_from_slice(&mut self, other: &[T]) {
self.spec_extend(other.iter())