diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-05-25 17:37:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-25 17:37:23 +0200 |
| commit | e98f8f8feffbb325e181020681599ee1ffa19ec4 (patch) | |
| tree | f6fb4e743a7fea0757493c5312ec9c612283c698 | |
| parent | 5d43ae8ecec00ff9f3de843eaa623e990c78f65d (diff) | |
| parent | 611948b9689d43ec43d77bbbc9e95df683fef853 (diff) | |
| download | rust-e98f8f8feffbb325e181020681599ee1ffa19ec4.tar.gz rust-e98f8f8feffbb325e181020681599ee1ffa19ec4.zip | |
Rollup merge of #97400 - JohnTitor:typo-fix-substructure, r=cjgillot
Fix a typo on Struct `Substructure`
| -rw-r--r-- | compiler/rustc_builtin_macros/src/deriving/generic/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_builtin_macros/src/deriving/generic/mod.rs b/compiler/rustc_builtin_macros/src/deriving/generic/mod.rs index 0fd23fd281e..0832fdad8b8 100644 --- a/compiler/rustc_builtin_macros/src/deriving/generic/mod.rs +++ b/compiler/rustc_builtin_macros/src/deriving/generic/mod.rs @@ -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 |
