Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide-db/src/imports/merge_imports.rs')
-rw-r--r--crates/ide-db/src/imports/merge_imports.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/crates/ide-db/src/imports/merge_imports.rs b/crates/ide-db/src/imports/merge_imports.rs
index 3301719f5c..76645464dd 100644
--- a/crates/ide-db/src/imports/merge_imports.rs
+++ b/crates/ide-db/src/imports/merge_imports.rs
@@ -256,16 +256,6 @@ pub fn try_normalize_import(use_item: &ast::Use, style: NormalizationStyle) -> O
Some(use_item)
}
-/// Normalizes a use tree (see [`try_normalize_import`] doc).
-pub fn try_normalize_use_tree(
- use_tree: &ast::UseTree,
- style: NormalizationStyle,
-) -> Option<ast::UseTree> {
- let use_tree = use_tree.clone_subtree().clone_for_update();
- try_normalize_use_tree_mut(&use_tree, style)?;
- Some(use_tree)
-}
-
pub fn try_normalize_use_tree_mut(
use_tree: &ast::UseTree,
style: NormalizationStyle,