From df802ccd2fad88ea617622ae0bf89067a250145e Mon Sep 17 00:00:00 2001 From: neeko-cat <60898184+neeko-cat@users.noreply.github.com> Date: Thu, 28 Aug 2025 22:19:37 +0200 Subject: [PATCH] fix `core::marker::Destruct` doc --- library/core/src/marker.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/marker.rs b/library/core/src/marker.rs index 8ad58599c6815..73aad27afef6f 100644 --- a/library/core/src/marker.rs +++ b/library/core/src/marker.rs @@ -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")]