Rollup merge of #97400 - JohnTitor:typo-fix-substructure, r=cjgillot

Fix a typo on Struct `Substructure`
This commit is contained in:
Dylan DPC 2022-05-25 17:37:23 +02:00 committed by GitHub
commit e98f8f8fef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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