diff options
author | Akshay <[email protected]> | 2021-11-28 13:55:36 +0000 |
---|---|---|
committer | Akshay <[email protected]> | 2021-11-28 13:55:36 +0000 |
commit | 1079486539d44b2e70c623fb4948d6e0b9b11812 (patch) | |
tree | 7dc80cbfb44d31b8fd63955a290e687a32adbec1 /bin/src/config.rs | |
parent | cef2deec580acda72e0575b47b6415e5421736a7 (diff) |
remove lint: unquoted_splice
Diffstat (limited to 'bin/src/config.rs')
-rw-r--r-- | bin/src/config.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/src/config.rs b/bin/src/config.rs index b6310e6..572ddde 100644 --- a/bin/src/config.rs +++ b/bin/src/config.rs | |||
@@ -334,11 +334,11 @@ fn vfs(files: Vec<PathBuf>) -> Result<ReadOnlyVfs, ConfigErr> { | |||
334 | Ok(vfs) | 334 | Ok(vfs) |
335 | } | 335 | } |
336 | 336 | ||
337 | fn lints(conf_path: &PathBuf) -> Result<LintMap, ConfigErr> { | 337 | fn lints(conf_path: &Path) -> Result<LintMap, ConfigErr> { |
338 | let config_file = ConfFile::discover(conf_path)?; | 338 | let config_file = ConfFile::discover(conf_path)?; |
339 | Ok(utils::lint_map_of( | 339 | Ok(utils::lint_map_of( |
340 | (&*LINTS) | 340 | (&*LINTS) |
341 | .into_iter() | 341 | .iter() |
342 | .filter(|l| !config_file.disabled.iter().any(|check| check == l.name())) | 342 | .filter(|l| !config_file.disabled.iter().any(|check| check == l.name())) |
343 | .cloned() | 343 | .cloned() |
344 | .collect::<Vec<_>>() | 344 | .collect::<Vec<_>>() |