]> git.lizzy.rs Git - rust.git/commitdiff
Fix rustdoc
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>
Wed, 14 Dec 2022 18:55:55 +0000 (18:55 +0000)
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>
Wed, 14 Dec 2022 18:55:55 +0000 (18:55 +0000)
compiler/rustc_middle/src/ty/sty.rs

index e073637402fceeb0006cf4a1ab5c362d7b29d38c..66aeebab88ba017d24bfd90895e1d1f7b58d4d94 100644 (file)
@@ -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: (),
 }