chore: enable safe clippy pedantic lints

This commit is contained in:
Christian Visintin
2026-04-19 01:54:46 +05:30
parent f044e6ace2
commit e11af03fdd
17 changed files with 50 additions and 36 deletions
+1 -1
View File
@@ -160,7 +160,7 @@ impl FsWatcher {
/// Returns the list of watched paths
pub fn watched_paths(&self) -> Vec<&Path> {
Vec::from_iter(self.paths.keys().map(|x| x.as_path()))
Vec::from_iter(self.paths.keys().map(PathBuf::as_path))
}
/// Unwatch provided path.