Skip to content

Commit d719afd

Browse files
authored
Rollup merge of #135285 - tbu-:pr_fix_typo4, r=GuillaumeGomez
it-self → itself, build-system → build system, type-alias → type alias
2 parents 8c61cd4 + 2e43912 commit d719afd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

compiler/rustc_session/src/config/cfg.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
//!
1010
//! ## Adding a new cfg
1111
//!
12-
//! Adding a new feature requires two new symbols one for the cfg it-self
12+
//! Adding a new feature requires two new symbols one for the cfg itself
1313
//! and the second one for the unstable feature gate, those are defined in
1414
//! `rustc_span::symbol`.
1515
//!

src/doc/rustc/src/check-cfg.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ As of `2025-01-02T`, the list of known names is as follows:
135135
- `windows`
136136
137137
> Starting with 1.85.0, the `test` cfg is consider to be a "userspace" config
138-
> despite being also set by `rustc` and should be managed by the build-system it-self.
138+
> despite being also set by `rustc` and should be managed by the build system itself.
139139
140140
Like with `values(any())`, well known names checking can be disabled by passing `cfg(any())`
141141
as argument to `--check-cfg`.

src/librustdoc/passes/strip_aliased_non_local.rs

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

0 commit comments

Comments
 (0)