Skip to content

Commit

Permalink
Rollup merge of rust-lang#111715 - juntyr:const-param-ty-derive-fix, …
Browse files Browse the repository at this point in the history
…r=Nilstrieb

Fix doc comment for `ConstParamTy` derive

See rust-lang#111670 (comment)

Thanks ```@Nilstrieb``` for the pointer :)
  • Loading branch information
GuillaumeGomez committed May 19, 2023
2 parents a245a48 + f577cc4 commit 7853c25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/marker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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))]
Expand Down

0 comments on commit 7853c25

Please sign in to comment.