Skip to content

Commit 59ee13a

Browse files
committed
it-self → itself, build-system → build system, type-alias → type alias
1 parent 15c6f7e commit 59ee13a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
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/doc/rustc/src/platform-support/unknown-uefi.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ There are 3 common ways to compile native C code for UEFI targets:
116116
- Use the official SDK by Intel:
117117
[Tianocore/EDK2](https://github.com/tianocore/edk2). This supports a
118118
multitude of platforms, comes with the full specification transposed into C,
119-
lots of examples and build-system integrations. This is also the only
119+
lots of examples and build system integrations. This is also the only
120120
officially supported platform by Intel, and is used by many major firmware
121121
implementations. Any code compiled via the SDK is compatible to rust binaries
122122
compiled for the UEFI targets. You can link them directly into your rust

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)