about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-05-25 17:37:23 +0200
committerGitHub <noreply@github.com>2022-05-25 17:37:23 +0200
commite98f8f8feffbb325e181020681599ee1ffa19ec4 (patch)
treef6fb4e743a7fea0757493c5312ec9c612283c698
parent5d43ae8ecec00ff9f3de843eaa623e990c78f65d (diff)
parent611948b9689d43ec43d77bbbc9e95df683fef853 (diff)
downloadrust-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.rs2
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