Skip to content

Commit 04cd4b1

Browse files
Fix the profiling string
Co-authored-by: Laurențiu Nicola <[email protected]>
1 parent b2e6ca4 commit 04cd4b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/assists/src/utils/insert_use.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ pub fn insert_use<'a>(
9595
path: ast::Path,
9696
merge: Option<MergeBehaviour>,
9797
) -> SyntaxRewriter<'a> {
98-
let _p = profile::span("mod_path_to_ast");
98+
let _p = profile::span("insert_use");
9999
let mut rewriter = SyntaxRewriter::default();
100100
let use_item = make::use_(make::use_tree(path.clone(), None, None, false));
101101
// merge into existing imports if possible

0 commit comments

Comments
 (0)