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 authored May 19, 2023
2 parents 98989f3 + f577cc4 commit af26f19
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 af26f19

Please sign in to comment.