diff options
| author | Boxy <rust@boxyuwu.dev> | 2025-04-24 11:31:33 +0100 |
|---|---|---|
| committer | Boxy <rust@boxyuwu.dev> | 2025-04-24 11:59:20 +0100 |
| commit | bdfeb8f36bb2716eb8f5aca32ba4f81563a6818b (patch) | |
| tree | 4651a63fdf66bd493f20dc9beceab66973ab044a /src/librustdoc/clean/mod.rs | |
| parent | 7f695232a80fa1833e2282f2577c5e1ff066bf39 (diff) | |
| download | rust-bdfeb8f36bb2716eb8f5aca32ba4f81563a6818b.tar.gz rust-bdfeb8f36bb2716eb8f5aca32ba4f81563a6818b.zip | |
Remove `weak` alias terminology
Diffstat (limited to 'src/librustdoc/clean/mod.rs')
| -rw-r--r-- | src/librustdoc/clean/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustdoc/clean/mod.rs b/src/librustdoc/clean/mod.rs index 6ecb67c776c..622a410837b 100644 --- a/src/librustdoc/clean/mod.rs +++ b/src/librustdoc/clean/mod.rs @@ -2213,9 +2213,9 @@ pub(crate) fn clean_middle_ty<'tcx>( })) } - ty::Alias(ty::Weak, data) => { + ty::Alias(ty::Free, data) => { if cx.tcx.features().lazy_type_alias() { - // Weak type alias `data` represents the `type X` in `type X = Y`. If we need `Y`, + // Free type alias `data` represents the `type X` in `type X = Y`. If we need `Y`, // we need to use `type_of`. let path = clean_middle_path( cx, |
