diff options
author | Aleksey Kladov <[email protected]> | 2020-08-12 15:32:36 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-08-12 15:35:29 +0100 |
commit | 208b7bd7ba687fb570feb1b89219f14c63712ce8 (patch) | |
tree | c39749d1b71b73b4017c2d0d848ebdc85e570c39 /crates/ra_ide/src/inlay_hints.rs | |
parent | 98baa9b569b49162392ed4149dd435854fe941b8 (diff) |
Rename ra_prof -> profile
Diffstat (limited to 'crates/ra_ide/src/inlay_hints.rs')
-rw-r--r-- | crates/ra_ide/src/inlay_hints.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/ra_ide/src/inlay_hints.rs b/crates/ra_ide/src/inlay_hints.rs index 1bacead63..920b04e8d 100644 --- a/crates/ra_ide/src/inlay_hints.rs +++ b/crates/ra_ide/src/inlay_hints.rs | |||
@@ -1,6 +1,5 @@ | |||
1 | use hir::{Adt, Callable, HirDisplay, Semantics, Type}; | 1 | use hir::{Adt, Callable, HirDisplay, Semantics, Type}; |
2 | use ra_ide_db::RootDatabase; | 2 | use ra_ide_db::RootDatabase; |
3 | use ra_prof::profile; | ||
4 | use ra_syntax::{ | 3 | use ra_syntax::{ |
5 | ast::{self, ArgListOwner, AstNode}, | 4 | ast::{self, ArgListOwner, AstNode}, |
6 | match_ast, Direction, NodeOrToken, SmolStr, SyntaxKind, TextRange, T, | 5 | match_ast, Direction, NodeOrToken, SmolStr, SyntaxKind, TextRange, T, |
@@ -64,7 +63,7 @@ pub(crate) fn inlay_hints( | |||
64 | file_id: FileId, | 63 | file_id: FileId, |
65 | config: &InlayHintsConfig, | 64 | config: &InlayHintsConfig, |
66 | ) -> Vec<InlayHint> { | 65 | ) -> Vec<InlayHint> { |
67 | let _p = profile("inlay_hints"); | 66 | let _p = profile::span("inlay_hints"); |
68 | let sema = Semantics::new(db); | 67 | let sema = Semantics::new(db); |
69 | let file = sema.parse(file_id); | 68 | let file = sema.parse(file_id); |
70 | 69 | ||