mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
allow rustfmt to reorder imports
This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway
This commit is contained in:
parent
2b2cd829b0
commit
1834bae5b8
166 changed files with 798 additions and 814 deletions
|
@ -2,18 +2,21 @@ mod memory_usage;
|
|||
|
||||
use std::{
|
||||
cell::RefCell,
|
||||
time::{Duration, Instant},
|
||||
mem,
|
||||
collections::HashSet,
|
||||
io::{stderr, Write},
|
||||
iter::repeat,
|
||||
collections::HashSet,
|
||||
sync::{RwLock, atomic::{AtomicBool, Ordering}},
|
||||
mem,
|
||||
sync::{
|
||||
atomic::{AtomicBool, Ordering},
|
||||
RwLock,
|
||||
},
|
||||
time::{Duration, Instant},
|
||||
};
|
||||
|
||||
use once_cell::sync::Lazy;
|
||||
use itertools::Itertools;
|
||||
use once_cell::sync::Lazy;
|
||||
|
||||
pub use crate::memory_usage::{MemoryUsage, Bytes};
|
||||
pub use crate::memory_usage::{Bytes, MemoryUsage};
|
||||
|
||||
// We use jemalloc mainly to get heap usage statistics, actual performance
|
||||
// difference is not measures.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue