From 9527e245c9deb8c477001d840b5532fe57884d44 Mon Sep 17 00:00:00 2001 From: Johann Hemmann Date: Fri, 19 Jan 2024 16:21:38 +0100 Subject: [PATCH] redundant_locals --- crates/ide/src/syntax_tree.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/crates/ide/src/syntax_tree.rs b/crates/ide/src/syntax_tree.rs index a4aed60969..2108b53861 100644 --- a/crates/ide/src/syntax_tree.rs +++ b/crates/ide/src/syntax_tree.rs @@ -52,7 +52,6 @@ fn syntax_tree_for_string(token: &SyntaxToken, text_range: TextRange) -> Option< } } -#[allow(clippy::redundant_locals)] fn syntax_tree_for_token(node: &SyntaxToken, text_range: TextRange) -> Option { // Range of the full node let node_range = node.text_range(); @@ -68,8 +67,6 @@ fn syntax_tree_for_token(node: &SyntaxToken, text_range: TextRange) -> Option