@@ -1053,7 +1053,6 @@ impl<T: ?Sized> Box<T> {
1053
1053
/// ```
1054
1054
///
1055
1055
/// [memory layout]: self#memory-layout
1056
- /// [`Layout`]: crate::Layout
1057
1056
#[ stable( feature = "box_raw" , since = "1.4.0" ) ]
1058
1057
#[ inline]
1059
1058
#[ must_use = "call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`" ]
@@ -1108,7 +1107,6 @@ impl<T: ?Sized> Box<T> {
1108
1107
/// ```
1109
1108
///
1110
1109
/// [memory layout]: self#memory-layout
1111
- /// [`Layout`]: crate::Layout
1112
1110
#[ unstable( feature = "box_vec_non_null" , reason = "new API" , issue = "130364" ) ]
1113
1111
#[ inline]
1114
1112
#[ 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> {
1165
1163
/// ```
1166
1164
///
1167
1165
/// [memory layout]: self#memory-layout
1168
- /// [`Layout`]: crate::Layout
1169
1166
#[ unstable( feature = "allocator_api" , issue = "32838" ) ]
1170
1167
#[ rustc_const_unstable( feature = "const_box" , issue = "92521" ) ]
1171
1168
#[ inline]
@@ -1219,7 +1216,6 @@ impl<T: ?Sized, A: Allocator> Box<T, A> {
1219
1216
/// ```
1220
1217
///
1221
1218
/// [memory layout]: self#memory-layout
1222
- /// [`Layout`]: crate::Layout
1223
1219
#[ unstable( feature = "allocator_api" , issue = "32838" ) ]
1224
1220
// #[unstable(feature = "box_vec_non_null", reason = "new API", issue = "130364")]
1225
1221
#[ rustc_const_unstable( feature = "const_box" , issue = "92521" ) ]
0 commit comments