We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22719ef commit 52ab3e8Copy full SHA for 52ab3e8
library/alloc/src/collections/linked_list.rs
@@ -38,9 +38,12 @@ mod tests;
38
/// let list = LinkedList::from([1, 2, 3]);
39
/// ```
40
///
41
-/// NOTE: It is almost always better to use `Vec` or `VecDeque` because
+/// NOTE: It is almost always better to use [`Vec`] or [`VecDeque`] because
42
/// array-based containers are generally faster,
43
/// more memory efficient, and make better use of CPU cache.
44
+///
45
+/// [`Vec`]: crate::vec::Vec
46
+/// [`VecDeque`]: super::vec_deque::VecDeque
47
#[stable(feature = "rust1", since = "1.0.0")]
48
#[cfg_attr(not(test), rustc_diagnostic_item = "LinkedList")]
49
pub struct LinkedList<T> {
0 commit comments