File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -2711,6 +2711,9 @@ impl<T: fmt::Debug> fmt::Debug for VecDeque<T> {
27112711impl < T > From < Vec < T > > for VecDeque < T > {
27122712 /// Turn a [`Vec<T>`] into a [`VecDeque<T>`].
27132713 ///
2714+ /// [`Vec<T>`]: crate::vec::Vec
2715+ /// [`VecDeque<T>`]: crate::collections::VecDeque
2716+ ///
27142717 /// This avoids reallocating where possible, but the conditions for that are
27152718 /// strict, and subject to change, and so shouldn't be relied upon unless the
27162719 /// `Vec<T>` came from `From<VecDeque<T>>` and hasn't been reallocated.
@@ -2742,6 +2745,9 @@ impl<T> From<Vec<T>> for VecDeque<T> {
27422745impl < T > From < VecDeque < T > > for Vec < T > {
27432746 /// Turn a [`VecDeque<T>`] into a [`Vec<T>`].
27442747 ///
2748+ /// [`Vec<T>`]: crate::vec::Vec
2749+ /// [`VecDeque<T>`]: crate::collections::VecDeque
2750+ ///
27452751 /// This never needs to re-allocate, but does need to do O(n) data movement if
27462752 /// the circular buffer doesn't happen to be at the beginning of the allocation.
27472753 ///
You can’t perform that action at this time.
0 commit comments