@@ -63,8 +63,8 @@ pub trait Interner: Debug + Copy + Eq + Ord + Hash {
63
63
/// `Ty<Self>`, which wraps this type.
64
64
///
65
65
/// An `InternedType` must be something that can be created from a
66
- /// `TyKind` (by the [`intern_ty`] method) and then later
67
- /// converted back (by the [`ty_data`] method). The interned form
66
+ /// `TyKind` (by the [`intern_ty`][Self::intern_ty] method) and then later
67
+ /// converted back (by the [`ty_data`][Self::ty_data] method). The interned form
68
68
/// must also introduce indirection, either via a `Box`, `&`, or
69
69
/// other pointer type.
70
70
type InternedType : Debug + Clone + Eq + Hash ;
@@ -74,17 +74,17 @@ pub trait Interner: Debug + Copy + Eq + Ord + Hash {
74
74
/// `Lifetime<Self>`, which wraps this type.
75
75
///
76
76
/// An `InternedLifetime` must be something that can be created
77
- /// from a `LifetimeData` (by the [`intern_lifetime`] method) and
78
- /// then later converted back (by the [`lifetime_data`] method).
77
+ /// from a `LifetimeData` (by the [`intern_lifetime`][Self::intern_lifetime] method) and
78
+ /// then later converted back (by the [`lifetime_data`][Self::lifetime_data] method).
79
79
type InternedLifetime : Debug + Clone + Eq + Hash ;
80
80
81
81
/// "Interned" representation of const expressions. In normal user code,
82
82
/// `Self::InternedConst` is not referenced. Instead, we refer to
83
83
/// `Const<Self>`, which wraps this type.
84
84
///
85
85
/// An `InternedConst` must be something that can be created
86
- /// from a `ConstData` (by the [`intern_const`] method) and
87
- /// then later converted back (by the [`const_data`] method).
86
+ /// from a `ConstData` (by the [`intern_const`][Self::intern_const] method) and
87
+ /// then later converted back (by the [`const_data`][Self::const_data] method).
88
88
type InternedConst : Debug + Clone + Eq + Hash ;
89
89
90
90
/// "Interned" representation of an evaluated const value.
0 commit comments