From 4d6adc1cee7b207aaa5853c01537b771ac672291 Mon Sep 17 00:00:00 2001 From: acheron Date: Tue, 5 Nov 2024 17:34:42 +0100 Subject: [PATCH] cli: Remove allowing false positive `clippy::needless_borrows_for_generic_args` --- cli/src/config.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/cli/src/config.rs b/cli/src/config.rs index 07e8df8fe5..c8a579f3a2 100644 --- a/cli/src/config.rs +++ b/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) -> Result { let s = fs::read_to_string(&path)?; let parsed_toml: Self = toml::from_str(&s)?;