mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
..
This commit is contained in:
parent
647d4dccb7
commit
86a193a03c
1 changed files with 2 additions and 2 deletions
|
|
@ -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) }
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue