about summary refs log tree commit diff
diff options
context:
space:
mode:
authorneeko-cat <60898184+neeko-cat@users.noreply.github.com>2025-08-28 22:19:37 +0200
committerGitHub <noreply@github.com>2025-08-28 22:19:37 +0200
commitdf802ccd2fad88ea617622ae0bf89067a250145e (patch)
treee031adaca1c18254f7bad7030d2fb36ee788aea0
parent35d55b34bffd51384ac430cc20852b7d16dd5a90 (diff)
downloadrust-df802ccd2fad88ea617622ae0bf89067a250145e.tar.gz
rust-df802ccd2fad88ea617622ae0bf89067a250145e.zip
fix `core::marker::Destruct` doc
-rw-r--r--library/core/src/marker.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/marker.rs b/library/core/src/marker.rs
index 8ad58599c68..73aad27afef 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")]