mirror of
https://github.com/veeso/termscp.git
synced 2026-09-26 22:11:26 -07:00
chore: enable safe clippy pedantic lints
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user