Skip to content

Commit 5c0cd83

Browse files
authored
Rollup merge of rust-lang#145972 - neeko-cat:patch-2, r=ibraheemdev
fix `core::marker::Destruct` doc `~const` bounds are now `[const]` I think... Related: rust-lang#143874, rust-lang#133214
2 parents 2246dda + df802cc commit 5c0cd83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/marker.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,7 @@ marker_impls! {
10491049

10501050
/// A marker for types that can be dropped.
10511051
///
1052-
/// This should be used for `~const` bounds,
1052+
/// This should be used for `[const]` bounds,
10531053
/// as non-const bounds will always hold for every type.
10541054
#[unstable(feature = "const_destruct", issue = "133214")]
10551055
#[rustc_const_unstable(feature = "const_destruct", issue = "133214")]

0 commit comments

Comments
 (0)