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#111670 (comment)

Thanks @Nilstrieb for the pointer :)
  • Loading branch information
juntyr committed May 18, 2023
1 parent 77c836e commit f577cc4
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 f577cc4

Please sign in to comment.