Skip to content

Commit

Permalink
cli: Remove allowing false positive `clippy::needless_borrows_for_gen…
Browse files Browse the repository at this point in the history
…eric_args` (#3347)
  • Loading branch information
acheroncrypto authored Nov 6, 2024
1 parent 6147beb commit eee03bc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cli/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)?;
Expand Down

0 comments on commit eee03bc

Please sign in to comment.