Skip to content

Commit 93c031f

Browse files
authored
Rollup merge of #111715 - juntyr:const-param-ty-derive-fix, r=Nilstrieb
Fix doc comment for `ConstParamTy` derive See #111670 (comment) Thanks ````@Nilstrieb```` for the pointer :)
2 parents 35bef06 + f577cc4 commit 93c031f

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)