diff --git a/compiler/rustc_transmute/src/layout/mod.rs b/compiler/rustc_transmute/src/layout/mod.rs index cbf92bdacd6f0..07035ebdfb167 100644 --- a/compiler/rustc_transmute/src/layout/mod.rs +++ b/compiler/rustc_transmute/src/layout/mod.rs @@ -42,7 +42,7 @@ pub(crate) mod rustc { use rustc_middle::ty::Region; use rustc_middle::ty::Ty; - /// A reference in the layout [`Nfa`]. + /// A reference in the layout. #[derive(Debug, Hash, Eq, PartialEq, PartialOrd, Ord, Clone, Copy)] pub struct Ref<'tcx> { lifetime: Region<'tcx>, @@ -58,7 +58,7 @@ pub(crate) mod rustc { } } - /// A visibility node in the layout [`Nfa`]. + /// A visibility node in the layout. #[derive(Debug, Hash, Eq, PartialEq, Clone, Copy)] pub enum Def<'tcx> { Adt(ty::AdtDef<'tcx>),