From 6f7bc887da22e973db73ab5f83ea64257d53f781 Mon Sep 17 00:00:00 2001 From: InSyncWithFoo Date: Sun, 1 Dec 2024 05:30:52 +0000 Subject: [PATCH] Clippy --- .../ruff_linter/src/rules/ruff/rules/unnecessary_round_cast.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ruff_linter/src/rules/ruff/rules/unnecessary_round_cast.rs b/crates/ruff_linter/src/rules/ruff/rules/unnecessary_round_cast.rs index dee7c7adecc5e4..65d949e92c85bf 100644 --- a/crates/ruff_linter/src/rules/ruff/rules/unnecessary_round_cast.rs +++ b/crates/ruff_linter/src/rules/ruff/rules/unnecessary_round_cast.rs @@ -79,7 +79,7 @@ fn single_argument_to_int_call<'a>( return None; } - let [argument] = arguments.args.deref() else { + let [argument] = &*arguments.args else { return None; };