@@ -1093,7 +1093,6 @@ impl<T: ?Sized> Box<T> {
1093
1093
/// ```
1094
1094
///
1095
1095
/// [memory layout]: self#memory-layout
1096
- /// [`Layout`]: crate::Layout
1097
1096
#[ stable( feature = "box_raw" , since = "1.4.0" ) ]
1098
1097
#[ inline]
1099
1098
#[ must_use = "call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`" ]
@@ -1148,7 +1147,6 @@ impl<T: ?Sized> Box<T> {
1148
1147
/// ```
1149
1148
///
1150
1149
/// [memory layout]: self#memory-layout
1151
- /// [`Layout`]: crate::Layout
1152
1150
#[ unstable( feature = "box_vec_non_null" , reason = "new API" , issue = "130364" ) ]
1153
1151
#[ inline]
1154
1152
#[ must_use = "call `drop(Box::from_non_null(ptr))` if you intend to drop the `Box`" ]
@@ -1205,7 +1203,6 @@ impl<T: ?Sized, A: Allocator> Box<T, A> {
1205
1203
/// ```
1206
1204
///
1207
1205
/// [memory layout]: self#memory-layout
1208
- /// [`Layout`]: crate::Layout
1209
1206
#[ unstable( feature = "allocator_api" , issue = "32838" ) ]
1210
1207
#[ rustc_const_unstable( feature = "const_box" , issue = "92521" ) ]
1211
1208
#[ inline]
@@ -1259,7 +1256,6 @@ impl<T: ?Sized, A: Allocator> Box<T, A> {
1259
1256
/// ```
1260
1257
///
1261
1258
/// [memory layout]: self#memory-layout
1262
- /// [`Layout`]: crate::Layout
1263
1259
#[ unstable( feature = "allocator_api" , issue = "32838" ) ]
1264
1260
// #[unstable(feature = "box_vec_non_null", reason = "new API", issue = "130364")]
1265
1261
#[ rustc_const_unstable( feature = "const_box" , issue = "92521" ) ]
0 commit comments