safe transmute: fix broken intradoc link

This commit is contained in:
Jack Wrenn 2022-08-02 14:44:23 +00:00
parent e8a1925b64
commit 965ffb0b5c

View File

@ -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>),