Add profile call

This commit is contained in:
Aleksey Kladov 2021-01-18 13:25:57 +03:00
parent fde4a860ae
commit e13065b8ac
4 changed files with 6 additions and 0 deletions

View file

@ -274,6 +274,7 @@ impl GlobalState {
}
fn reload_flycheck(&mut self) {
let _p = profile::span("GlobalState::reload_flycheck");
let config = match self.config.flycheck() {
Some(it) => it,
None => {