Skip to content

Commit

Permalink
Fix doc comment for ConstParamTy derive
Browse files Browse the repository at this point in the history
See rust-lang/rust#111670 (comment)

Thanks @Nilstrieb for the pointer :)
  • Loading branch information
juntyr authored May 18, 2023
1 parent 7d8b77f commit a6774ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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 a6774ee

Please sign in to comment.