Skip to content

Commit 045d7f0

Browse files
Fix the profiling label
1 parent deda74e commit 045d7f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/completion/src/item.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ impl ImportEdit {
279279
/// Attempts to insert the import to the given scope, producing a text edit.
280280
/// May return no edit in edge cases, such as scope already containing the import.
281281
pub fn to_text_edit(&self) -> Option<TextEdit> {
282-
let _p = profile::span("ImportEdit::to_edit");
282+
let _p = profile::span("ImportEdit::to_text_edit");
283283

284284
let rewriter = insert_use::insert_use(
285285
&self.import_scope,

0 commit comments

Comments
 (0)