mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
Fix clippy warnings
This commit is contained in:
parent
ec614e1912
commit
44c94da2d8
17 changed files with 42 additions and 33 deletions
|
|
@ -4,6 +4,9 @@ mod fetcher;
|
|||
mod noop_fetcher;
|
||||
mod real_fetcher;
|
||||
mod snapshot;
|
||||
|
||||
// I don't think module inception is a real problem?
|
||||
#[allow(clippy::module_inception)]
|
||||
mod vfs;
|
||||
|
||||
pub use error::*;
|
||||
|
|
|
|||
|
|
@ -220,6 +220,6 @@ impl VfsFetcher for RealFetcher {
|
|||
|
||||
fn watched_paths(&self) -> Vec<PathBuf> {
|
||||
let watched_paths = self.watched_paths.lock().unwrap();
|
||||
watched_paths.iter().map(|v| v.clone()).collect()
|
||||
watched_paths.iter().cloned().collect()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue