mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 21:54:42 +00:00
Fix the profiling label
This commit is contained in:
parent
deda74edd8
commit
045d7f096f
1 changed files with 1 additions and 1 deletions
|
@ -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<TextEdit> {
|
||||
let _p = profile::span("ImportEdit::to_edit");
|
||||
let _p = profile::span("ImportEdit::to_text_edit");
|
||||
|
||||
let rewriter = insert_use::insert_use(
|
||||
&self.import_scope,
|
||||
|
|
Loading…
Reference in a new issue