mirror of
https://github.com/watchexec/watchexec.git
synced 2024-11-16 17:18:30 +01:00
Fix last clippy lints
This commit is contained in:
parent
7ef9d13b51
commit
a1fbad0180
1 changed files with 4 additions and 4 deletions
|
@ -18,15 +18,15 @@ impl PathOp {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn is_create(op_: op::Op) -> bool {
|
pub const fn is_create(op_: op::Op) -> bool {
|
||||||
op_.contains(op::CREATE)
|
op_.contains(op::CREATE)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn is_remove(op_: op::Op) -> bool {
|
pub const fn is_remove(op_: op::Op) -> bool {
|
||||||
op_.contains(op::REMOVE)
|
op_.contains(op::REMOVE)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn is_rename(op_: op::Op) -> bool {
|
pub const fn is_rename(op_: op::Op) -> bool {
|
||||||
op_.contains(op::RENAME)
|
op_.contains(op::RENAME)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ impl PathOp {
|
||||||
op_.intersects(write_or_close_write)
|
op_.intersects(write_or_close_write)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn is_meta(op_: op::Op) -> bool {
|
pub const fn is_meta(op_: op::Op) -> bool {
|
||||||
op_.contains(op::CHMOD)
|
op_.contains(op::CHMOD)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue