diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2025-02-11 18:04:22 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-11 18:04:22 +0100 |
| commit | d719afdbd993fa9bac1cd5db09dd296af0afd154 (patch) | |
| tree | 33ea50b90fe74bf839287b08817e288ff293b76b /src | |
| parent | 8c61cd4df8434573190336b8f16169f3c2b22a7a (diff) | |
| parent | 2e4391218476c0ffe092e4e32c9b6ae5057e5a0a (diff) | |
| download | rust-d719afdbd993fa9bac1cd5db09dd296af0afd154.tar.gz rust-d719afdbd993fa9bac1cd5db09dd296af0afd154.zip | |
Rollup merge of #135285 - tbu-:pr_fix_typo4, r=GuillaumeGomez
it-self → itself, build-system → build system, type-alias → type alias
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/rustc/src/check-cfg.md | 2 | ||||
| -rw-r--r-- | src/librustdoc/passes/strip_aliased_non_local.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/rustc/src/check-cfg.md b/src/doc/rustc/src/check-cfg.md index c62ca9fd9ad..00add2651ae 100644 --- a/src/doc/rustc/src/check-cfg.md +++ b/src/doc/rustc/src/check-cfg.md @@ -135,7 +135,7 @@ As of `2025-01-02T`, the list of known names is as follows: - `windows` > Starting with 1.85.0, the `test` cfg is consider to be a "userspace" config -> despite being also set by `rustc` and should be managed by the build-system it-self. +> despite being also set by `rustc` and should be managed by the build system itself. Like with `values(any())`, well known names checking can be disabled by passing `cfg(any())` as argument to `--check-cfg`. diff --git a/src/librustdoc/passes/strip_aliased_non_local.rs b/src/librustdoc/passes/strip_aliased_non_local.rs index fa7737bc143..7f5c7da3634 100644 --- a/src/librustdoc/passes/strip_aliased_non_local.rs +++ b/src/librustdoc/passes/strip_aliased_non_local.rs @@ -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) } |
