mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-19 19:23:10 +00:00
safe transmute: fix broken intradoc link
This commit is contained in:
parent
e8a1925b64
commit
965ffb0b5c
@ -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>),
|
||||
|
Loading…
Reference in New Issue
Block a user