Remove module-wide dead_code allows, annotate individual items instead
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user