This commit is contained in:
sxyazi 2025-09-18 07:19:59 +08:00
parent 647d4dccb7
commit 86a193a03c
No known key found for this signature in database

View file

@ -143,8 +143,8 @@ impl ChaMode {
impl ChaMode { impl ChaMode {
// TODO: deprecate // TODO: deprecate
#[inline] #[inline]
pub fn is_exec(self) -> bool { self.contains(Self::U_EXEC) } pub const fn is_exec(self) -> bool { self.contains(Self::U_EXEC) }
#[inline] #[inline]
pub fn is_sticky(self) -> bool { self.contains(Self::S_STICKY) } pub const fn is_sticky(self) -> bool { self.contains(Self::S_STICKY) }
} }