Code cleanup.
This commit is contained in:
@@ -18,7 +18,7 @@ pub enum FnAccess {
|
||||
|
||||
impl FnAccess {
|
||||
/// Is this function private?
|
||||
#[inline]
|
||||
#[inline(always)]
|
||||
#[must_use]
|
||||
pub const fn is_private(self) -> bool {
|
||||
match self {
|
||||
@@ -27,7 +27,7 @@ impl FnAccess {
|
||||
}
|
||||
}
|
||||
/// Is this function public?
|
||||
#[inline]
|
||||
#[inline(always)]
|
||||
#[must_use]
|
||||
pub const fn is_public(self) -> bool {
|
||||
match self {
|
||||
|
Reference in New Issue
Block a user