diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2022-05-25 22:25:37 +0900 |
|---|---|---|
| committer | Yuki Okushi <jtitor@2k36.org> | 2022-05-25 22:25:37 +0900 |
| commit | 611948b9689d43ec43d77bbbc9e95df683fef853 (patch) | |
| tree | d8ec8294638523b3e386557c811b5a9d882ebd41 | |
| parent | 4a99c5f504ab65a0fd9d60f515811e1d9cff8c0a (diff) | |
| download | rust-611948b9689d43ec43d77bbbc9e95df683fef853.tar.gz rust-611948b9689d43ec43d77bbbc9e95df683fef853.zip | |
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 |
