Use intra-doc links

This commit is contained in:
Denis Vasilik 2020-09-18 12:38:37 +02:00
parent 4af1b90b41
commit 49c8fcb47e

View File

@ -9,8 +9,7 @@
/// This `struct` is created by the [`drain`] method on [`VecDeque`]. See its
/// documentation for more.
///
/// [`drain`]: struct.VecDeque.html#method.drain
/// [`VecDeque`]: struct.VecDeque.html
/// [`drain`]: VecDeque::drain
#[stable(feature = "drain", since = "1.6.0")]
pub struct Drain<'a, T: 'a> {
pub(crate) after_tail: usize,