Skip to content

Commit

Permalink
safe transmute: fix broken intradoc link
Browse files Browse the repository at this point in the history
  • Loading branch information
jswrenn committed Aug 2, 2022
1 parent e8a1925 commit 965ffb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/rustc_transmute/src/layout/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>,
Expand All @@ -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>),
Expand Down

0 comments on commit 965ffb0

Please sign in to comment.