@@ -1053,7 +1053,6 @@ impl<T: ?Sized> Box<T> {
10531053 /// ```
10541054 ///
10551055 /// [memory layout]: self#memory-layout
1056- /// [`Layout`]: crate::Layout
10571056 #[ stable( feature = "box_raw" , since = "1.4.0" ) ]
10581057 #[ inline]
10591058 #[ must_use = "call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`" ]
@@ -1108,7 +1107,6 @@ impl<T: ?Sized> Box<T> {
11081107 /// ```
11091108 ///
11101109 /// [memory layout]: self#memory-layout
1111- /// [`Layout`]: crate::Layout
11121110 #[ unstable( feature = "box_vec_non_null" , reason = "new API" , issue = "130364" ) ]
11131111 #[ inline]
11141112 #[ must_use = "call `drop(Box::from_non_null(ptr))` if you intend to drop the `Box`" ]
@@ -1165,7 +1163,6 @@ impl<T: ?Sized, A: Allocator> Box<T, A> {
11651163 /// ```
11661164 ///
11671165 /// [memory layout]: self#memory-layout
1168- /// [`Layout`]: crate::Layout
11691166 #[ unstable( feature = "allocator_api" , issue = "32838" ) ]
11701167 #[ rustc_const_unstable( feature = "const_box" , issue = "92521" ) ]
11711168 #[ inline]
@@ -1219,7 +1216,6 @@ impl<T: ?Sized, A: Allocator> Box<T, A> {
12191216 /// ```
12201217 ///
12211218 /// [memory layout]: self#memory-layout
1222- /// [`Layout`]: crate::Layout
12231219 #[ unstable( feature = "allocator_api" , issue = "32838" ) ]
12241220 // #[unstable(feature = "box_vec_non_null", reason = "new API", issue = "130364")]
12251221 #[ rustc_const_unstable( feature = "const_box" , issue = "92521" ) ]
0 commit comments