diff options
author | Aleksey Kladov <[email protected]> | 2021-01-18 10:25:57 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2021-01-18 10:30:12 +0000 |
commit | e13065b8aca98f99553b61129e776ae3688dbdfc (patch) | |
tree | f6c7a86721334f65e5104b6882028ccdc21eaa20 /crates/rust-analyzer/src/reload.rs | |
parent | fde4a860aea903a0455a05c1def1d07a6573639b (diff) |
Add profile call
Diffstat (limited to 'crates/rust-analyzer/src/reload.rs')
-rw-r--r-- | crates/rust-analyzer/src/reload.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/rust-analyzer/src/reload.rs b/crates/rust-analyzer/src/reload.rs index 97e20362f..34e3cfe68 100644 --- a/crates/rust-analyzer/src/reload.rs +++ b/crates/rust-analyzer/src/reload.rs | |||
@@ -274,6 +274,7 @@ impl GlobalState { | |||
274 | } | 274 | } |
275 | 275 | ||
276 | fn reload_flycheck(&mut self) { | 276 | fn reload_flycheck(&mut self) { |
277 | let _p = profile::span("GlobalState::reload_flycheck"); | ||
277 | let config = match self.config.flycheck() { | 278 | let config = match self.config.flycheck() { |
278 | Some(it) => it, | 279 | Some(it) => it, |
279 | None => { | 280 | None => { |