clippy: Fix warnings

This commit is contained in:
Vicki Pfau 2024-08-06 19:15:30 -07:00
parent d7534ced9c
commit 72e633e336
2 changed files with 2 additions and 2 deletions

View file

@ -220,7 +220,7 @@ impl Inhibitor {
}
info!("Adding {} to watchlist", path.display());
let watch = self.inotify.watches().add(
&node.hidraw(),
node.hidraw(),
WatchMask::DELETE_SELF
| WatchMask::OPEN
| WatchMask::CLOSE_NOWRITE