From 965ffb0b5cf3372900ce473f244ec33270058888 Mon Sep 17 00:00:00 2001 From: Jack Wrenn Date: Tue, 2 Aug 2022 14:44:23 +0000 Subject: [PATCH] safe transmute: fix broken intradoc link --- compiler/rustc_transmute/src/layout/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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>),