fix core::marker::Destruct doc

This commit is contained in:
neeko-cat 2025-08-28 22:19:37 +02:00 committed by GitHub
parent 35d55b34bf
commit df802ccd2f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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")]