tree-wide: fix rustdoc warnings, add some links
This commit is contained in:
@@ -197,12 +197,12 @@ pub enum AttrKind {
|
||||
}
|
||||
|
||||
impl AttrKind {
|
||||
/// Returns `true` if the attr_kind is [`Inner`].
|
||||
/// Returns `true` if the attr_kind is [`Inner`](Self::Inner).
|
||||
pub fn is_inner(&self) -> bool {
|
||||
matches!(self, Self::Inner)
|
||||
}
|
||||
|
||||
/// Returns `true` if the attr_kind is [`Outer`].
|
||||
/// Returns `true` if the attr_kind is [`Outer`](Self::Outer).
|
||||
pub fn is_outer(&self) -> bool {
|
||||
matches!(self, Self::Outer)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user