Skip to content

Commit f577cc4

Browse files
authored
Fix doc comment for ConstParamTy derive
See #111670 (comment) Thanks @Nilstrieb for the pointer :)
1 parent 77c836e commit f577cc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/marker.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -986,7 +986,7 @@ pub trait PointerLike {}
986986
#[rustc_on_unimplemented(message = "`{Self}` can't be used as a const parameter type")]
987987
pub trait ConstParamTy: StructuralEq {}
988988

989-
/// Derive macro generating an impl of the trait `Copy`.
989+
/// Derive macro generating an impl of the trait `ConstParamTy`.
990990
#[rustc_builtin_macro]
991991
#[unstable(feature = "adt_const_params", issue = "95174")]
992992
#[cfg(not(bootstrap))]

0 commit comments

Comments
 (0)