about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2022-12-14 18:55:55 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2022-12-14 18:55:55 +0000
commitb41a483e8aff6c6d8a0104cfc8370159f941b81d (patch)
tree106364bf07dd4ea07b7ee4e8930b31ad507d2780
parent18373fae35cd3400e591f511b5c23bd1c96d632c (diff)
downloadrust-b41a483e8aff6c6d8a0104cfc8370159f941b81d.tar.gz
rust-b41a483e8aff6c6d8a0104cfc8370159f941b81d.zip
Fix rustdoc
-rw-r--r--compiler/rustc_middle/src/ty/sty.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/ty/sty.rs b/compiler/rustc_middle/src/ty/sty.rs
index e073637402f..66aeebab88b 100644
--- a/compiler/rustc_middle/src/ty/sty.rs
+++ b/compiler/rustc_middle/src/ty/sty.rs
@@ -1164,7 +1164,7 @@ pub struct AliasTy<'tcx> {
     pub def_id: DefId,
 
     /// This field exists to prevent the creation of `ProjectionTy` without using
-    /// [TyCtxt::mk_projection_ty].
+    /// [TyCtxt::mk_alias_ty].
     pub(super) _use_mk_alias_ty_instead: (),
 }