diff options
author | Kirill Bulatov <[email protected]> | 2020-12-04 18:02:42 +0000 |
---|---|---|
committer | Kirill Bulatov <[email protected]> | 2020-12-07 21:41:08 +0000 |
commit | 045d7f096fc83cb14472a7ded9b4438a42f116a5 (patch) | |
tree | 2959a4256b185e57f2f0343b2cd0e347fde2dd04 /crates/completion | |
parent | deda74edd89affb3f77d274776d2a672bc11db90 (diff) |
Fix the profiling label
Diffstat (limited to 'crates/completion')
-rw-r--r-- | crates/completion/src/item.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
279 | /// Attempts to insert the import to the given scope, producing a text edit. | 279 | /// Attempts to insert the import to the given scope, producing a text edit. |
280 | /// May return no edit in edge cases, such as scope already containing the import. | 280 | /// May return no edit in edge cases, such as scope already containing the import. |
281 | pub fn to_text_edit(&self) -> Option<TextEdit> { | 281 | 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"); |
283 | 283 | ||
284 | let rewriter = insert_use::insert_use( | 284 | let rewriter = insert_use::insert_use( |
285 | &self.import_scope, | 285 | &self.import_scope, |