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:
commit
d719afdbd9
3 changed files with 3 additions and 3 deletions
|
|
@ -9,7 +9,7 @@
|
|||
//!
|
||||
//! ## Adding a new cfg
|
||||
//!
|
||||
//! Adding a new feature requires two new symbols one for the cfg it-self
|
||||
//! Adding a new feature requires two new symbols one for the cfg itself
|
||||
//! and the second one for the unstable feature gate, those are defined in
|
||||
//! `rustc_span::symbol`.
|
||||
//!
|
||||
|
|
|
|||
|
|
@ -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`.
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue