Skip to content

Commit 9f98767

Browse files
committed
Surpress another warning about unused_assignments
1 parent 865c49d commit 9f98767

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/ide-db/src/imports/merge_imports.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ pub fn try_normalize_use_tree_mut(
275275
}
276276

277277
/// Recursively normalizes a use tree and its subtrees (if any).
278+
#[allow(unused_assignments)]
278279
fn recursive_normalize(use_tree: &ast::UseTree, style: NormalizationStyle) -> Option<()> {
279280
let use_tree_list = use_tree.use_tree_list()?;
280281
let merge_subtree_into_parent_tree = |single_subtree: &ast::UseTree| {

0 commit comments

Comments
 (0)