We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d849de7 commit db3a126Copy full SHA for db3a126
rewatch/src/watcher.rs
@@ -93,7 +93,7 @@ async fn async_watch(
93
94
for event in events {
95
// if there is a file named rewatch.lock in the events path, we can quit the watcher
96
- if let Some(path) = event.paths.iter().find(|path| path.ends_with("rewatch.lock")) {
+ if let Some(_) = event.paths.iter().find(|path| path.ends_with("rewatch.lock")) {
97
match event.kind {
98
EventKind::Remove(_) => {
99
if show_progress {
0 commit comments