From 045d7f096fc83cb14472a7ded9b4438a42f116a5 Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Fri, 4 Dec 2020 20:02:42 +0200 Subject: Fix the profiling label --- crates/completion/src/item.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/completion') diff --git a/crates/completion/src/item.rs b/crates/completion/src/item.rs index 4e56f28f3..519204bfa 100644 --- a/crates/completion/src/item.rs +++ b/crates/completion/src/item.rs @@ -279,7 +279,7 @@ impl ImportEdit { /// Attempts to insert the import to the given scope, producing a text edit. /// May return no edit in edge cases, such as scope already containing the import. pub fn to_text_edit(&self) -> Option { - let _p = profile::span("ImportEdit::to_edit"); + let _p = profile::span("ImportEdit::to_text_edit"); let rewriter = insert_use::insert_use( &self.import_scope, -- cgit v1.2.3