mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Add profile call
This commit is contained in:
parent
fde4a860ae
commit
e13065b8ac
4 changed files with 6 additions and 0 deletions
|
@ -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 => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue