Code cleanup.

This commit is contained in:
Stephen Chung
2022-10-30 18:43:18 +08:00
parent 8b773aa15e
commit 22ee12531c
12 changed files with 246 additions and 286 deletions

View File

@@ -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 {