safe transmute: fix broken intradoc link
This commit is contained in:
parent
e8a1925b64
commit
965ffb0b5c
1 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ pub(crate) mod rustc {
|
||||||
use rustc_middle::ty::Region;
|
use rustc_middle::ty::Region;
|
||||||
use rustc_middle::ty::Ty;
|
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)]
|
#[derive(Debug, Hash, Eq, PartialEq, PartialOrd, Ord, Clone, Copy)]
|
||||||
pub struct Ref<'tcx> {
|
pub struct Ref<'tcx> {
|
||||||
lifetime: Region<'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)]
|
#[derive(Debug, Hash, Eq, PartialEq, Clone, Copy)]
|
||||||
pub enum Def<'tcx> {
|
pub enum Def<'tcx> {
|
||||||
Adt(ty::AdtDef<'tcx>),
|
Adt(ty::AdtDef<'tcx>),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue