Remove module-wide dead_code allows, annotate individual items instead

This commit is contained in:
lashman
2026-02-27 21:05:56 +02:00
parent c9f032292a
commit f87403794e
4 changed files with 9 additions and 9 deletions

View File

@@ -1,5 +1,3 @@
#![allow(dead_code)]
use std::path::PathBuf;
use std::sync::mpsc;
use std::time::Duration;
@@ -10,7 +8,7 @@ use notify::{Config, Event, EventKind, RecommendedWatcher, RecursiveMode, Watche
#[derive(Debug, Clone)]
pub enum WatchEvent {
/// One or more AppImage files were created, modified, or deleted.
Changed(Vec<PathBuf>),
Changed(#[allow(dead_code)] Vec<PathBuf>),
}
/// Start watching the given directories for AppImage file changes.