fix(clippy): silenced but i owe it my life

This commit is contained in:
Nova
2022-08-22 10:21:34 -04:00
parent a8bbfbafdf
commit 4335e2b216
7 changed files with 11 additions and 12 deletions

View File

@@ -56,7 +56,7 @@ impl Root {
*calling_client.base_resource_prefixes.lock() = flex_vec
.iter()
.filter_map(|prefix| prefix.get_str().ok())
.map(|prefix| PathBuf::from(prefix))
.map(PathBuf::from)
.filter(|prefix| prefix.is_absolute())
.collect();
Ok(())