Liballoc extend use intra doc link

This commit is contained in:
Ivan Tham 2020-08-28 19:33:53 +08:00 committed by GitHub
parent 41aaa90c67
commit 2d6ab122b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1610,8 +1610,6 @@ impl<T: Clone> Vec<T> {
/// vec.extend_from_slice(&[2, 3, 4]);
/// assert_eq!(vec, [1, 2, 3, 4]);
/// ```
///
/// [`extend`]: #method.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())