Rollup merge of #145972 - neeko-cat:patch-2, r=ibraheemdev
fix `core::marker::Destruct` doc `~const` bounds are now `[const]` I think... Related: rust-lang/rust#143874, rust-lang/rust#133214
This commit is contained in:
@@ -1049,7 +1049,7 @@ marker_impls! {
|
||||
|
||||
/// A marker for types that can be dropped.
|
||||
///
|
||||
/// This should be used for `~const` bounds,
|
||||
/// This should be used for `[const]` bounds,
|
||||
/// as non-const bounds will always hold for every type.
|
||||
#[unstable(feature = "const_destruct", issue = "133214")]
|
||||
#[rustc_const_unstable(feature = "const_destruct", issue = "133214")]
|
||||
|
||||
Reference in New Issue
Block a user