Browse Source

cli: Remove allowing false positive `clippy::needless_borrows_for_generic_args` (#3347)

acheron 11 months ago
parent
commit
eee03bc7c3
1 changed files with 0 additions and 2 deletions
  1. 0 2
      cli/src/config.rs

+ 0 - 2
cli/src/config.rs

@@ -864,8 +864,6 @@ pub struct _TestToml {
 }
 
 impl _TestToml {
-    // TODO: Remove if/when false positive gets fixed
-    #[allow(clippy::needless_borrows_for_generic_args)]
     fn from_path(path: impl AsRef<Path>) -> Result<Self, Error> {
         let s = fs::read_to_string(&path)?;
         let parsed_toml: Self = toml::from_str(&s)?;