Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit df802cc

Browse files
fix core::marker::Destruct doc
1 parent 35d55b3 commit df802cc

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)

AltStyle によって変換されたページ (->オリジナル) /