Rollup merge of #135285 - tbu-:pr_fix_typo4, r=GuillaumeGomez

it-self → itself, build-system → build system, type-alias → type alias
This commit is contained in:
Matthias Krüger 2025-02-11 18:04:22 +01:00 committed by GitHub
commit d719afdbd9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -26,7 +26,7 @@ impl DocFolder for AliasedNonLocalStripper<'_> {
Some(match i.kind {
clean::TypeAliasItem(..) => {
let mut stripper = NonLocalStripper { tcx: self.tcx };
// don't call `fold_item` as that could strip the type-alias it-self
// don't call `fold_item` as that could strip the type alias itself
// which we don't want to strip out
stripper.fold_item_recur(i)
}