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/rust-analyzer/src/global_state.rs | |
parent | 98baa9b569b49162392ed4149dd435854fe941b8 (diff) |
Rename ra_prof -> profile
Diffstat (limited to 'crates/rust-analyzer/src/global_state.rs')
-rw-r--r-- | crates/rust-analyzer/src/global_state.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/rust-analyzer/src/global_state.rs b/crates/rust-analyzer/src/global_state.rs index 658a50d15..8c115c8a6 100644 --- a/crates/rust-analyzer/src/global_state.rs +++ b/crates/rust-analyzer/src/global_state.rs | |||
@@ -27,7 +27,6 @@ use crate::{ | |||
27 | to_proto::url_from_abs_path, | 27 | to_proto::url_from_abs_path, |
28 | Result, | 28 | Result, |
29 | }; | 29 | }; |
30 | use ra_prof::profile; | ||
31 | 30 | ||
32 | #[derive(Eq, PartialEq, Copy, Clone)] | 31 | #[derive(Eq, PartialEq, Copy, Clone)] |
33 | pub(crate) enum Status { | 32 | pub(crate) enum Status { |
@@ -135,7 +134,7 @@ impl GlobalState { | |||
135 | } | 134 | } |
136 | 135 | ||
137 | pub(crate) fn process_changes(&mut self) -> bool { | 136 | pub(crate) fn process_changes(&mut self) -> bool { |
138 | let _p = profile("GlobalState::process_changes"); | 137 | let _p = profile::span("GlobalState::process_changes"); |
139 | let mut fs_changes = Vec::new(); | 138 | let mut fs_changes = Vec::new(); |
140 | let mut has_fs_changes = false; | 139 | let mut has_fs_changes = false; |
141 | 140 | ||