Skip to content

Commit

Permalink
Fix a typo on Struct Substructure
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor committed May 25, 2022
1 parent 4a99c5f commit 611948b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_builtin_macros/src/deriving/generic/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ pub struct Substructure<'a> {
pub type_ident: Ident,
/// ident of the method
pub method_ident: Ident,
/// dereferenced access to any [`Self_`] or [`Ptr(Self_, _)][ptr]` arguments
/// dereferenced access to any [`Self_`] or [`Ptr(Self_, _)`][ptr] arguments
///
/// [`Self_`]: ty::Ty::Self_
/// [ptr]: ty::Ty::Ptr
Expand Down

0 comments on commit 611948b

Please sign in to comment.