mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 14:51:48 +00:00
minor clenup
This commit is contained in:
parent
5671bacfa6
commit
7623db1106
2 changed files with 15 additions and 16 deletions
|
@ -62,11 +62,7 @@ impl<'a> Project<'a> {
|
|||
static INIT: Once = Once::new();
|
||||
INIT.call_once(|| {
|
||||
env_logger::builder().is_test(true).try_init().unwrap();
|
||||
ra_prof::set_filter(if crate::PROFILE.is_empty() {
|
||||
ra_prof::Filter::disabled()
|
||||
} else {
|
||||
ra_prof::Filter::from_spec(&crate::PROFILE)
|
||||
});
|
||||
ra_prof::init_from(crate::PROFILE);
|
||||
});
|
||||
|
||||
let mut paths = vec![];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue