about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2023-05-20 12:21:01 +0530
committerGitHub <noreply@github.com>2023-05-20 12:21:01 +0530
commit93c031f6e663c428ee6e09b6fae2710ad3c54756 (patch)
treea0bfefca6aaf666884ee0bac53f1e04002dbca18
parent35bef062c7ea1e583832fe48dec57ef932d7169a (diff)
parentf577cc4dea9bd3bc3c41aa79d786274fb7b8282d (diff)
downloadrust-93c031f6e663c428ee6e09b6fae2710ad3c54756.tar.gz
rust-93c031f6e663c428ee6e09b6fae2710ad3c54756.zip
Rollup merge of #111715 - juntyr:const-param-ty-derive-fix, r=Nilstrieb
Fix doc comment for `ConstParamTy` derive

See https://github.com/rust-lang/rust/pull/111670#discussion_r1196453888

Thanks ````@Nilstrieb```` for the pointer :)
-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 ca45683d3d6..2bb688b921c 100644
--- a/library/core/src/marker.rs
+++ b/library/core/src/marker.rs
@@ -986,7 +986,7 @@ pub trait PointerLike {}
 #[rustc_on_unimplemented(message = "`{Self}` can't be used as a const parameter type")]
 pub trait ConstParamTy: StructuralEq {}
 
-/// Derive macro generating an impl of the trait `Copy`.
+/// Derive macro generating an impl of the trait `ConstParamTy`.
 #[rustc_builtin_macro]
 #[unstable(feature = "adt_const_params", issue = "95174")]
 #[cfg(not(bootstrap))]