diff options
| author | Jack Wrenn <jack@wrenn.fyi> | 2022-08-02 14:44:23 +0000 |
|---|---|---|
| committer | Jack Wrenn <jack@wrenn.fyi> | 2022-08-02 14:44:23 +0000 |
| commit | 965ffb0b5cf3372900ce473f244ec33270058888 (patch) | |
| tree | 5be985fe6bb8f82667c8e193e0b7c9b62756faee | |
| parent | e8a1925b64197576b83dfba8b75a80ca705edbdd (diff) | |
| download | rust-965ffb0b5cf3372900ce473f244ec33270058888.tar.gz rust-965ffb0b5cf3372900ce473f244ec33270058888.zip | |
safe transmute: fix broken intradoc link
| -rw-r--r-- | compiler/rustc_transmute/src/layout/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_transmute/src/layout/mod.rs b/compiler/rustc_transmute/src/layout/mod.rs index cbf92bdacd6..07035ebdfb1 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>), |
