diff options
author | Aleksey Kladov <[email protected]> | 2020-02-17 16:19:55 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-02-17 16:19:55 +0000 |
commit | 559c5f37f6d0435eb3a0bbb1cf10051783df4dfc (patch) | |
tree | 7b9b5ed32f4523aba0fc3761b89b90efeca1a11f | |
parent | d5371b5dec5fbf6add535d09afbddcb5b180ef85 (diff) |
Cleanup imports
-rw-r--r-- | crates/ra_cli/src/analysis_stats.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/crates/ra_cli/src/analysis_stats.rs b/crates/ra_cli/src/analysis_stats.rs index 6d2dd34c6..bfa174d51 100644 --- a/crates/ra_cli/src/analysis_stats.rs +++ b/crates/ra_cli/src/analysis_stats.rs | |||
@@ -2,17 +2,16 @@ | |||
2 | 2 | ||
3 | use std::{collections::HashSet, fmt::Write, path::Path, time::Instant}; | 3 | use std::{collections::HashSet, fmt::Write, path::Path, time::Instant}; |
4 | 4 | ||
5 | use itertools::Itertools; | ||
6 | use rand::{seq::SliceRandom, thread_rng}; | ||
7 | |||
8 | use hir::{ | 5 | use hir::{ |
9 | db::{DefDatabase, HirDatabase}, | 6 | db::{DefDatabase, HirDatabase}, |
10 | AssocItem, Crate, HasSource, HirDisplay, ModuleDef, | 7 | AssocItem, Crate, HasSource, HirDisplay, ModuleDef, |
11 | }; | 8 | }; |
12 | use hir_def::FunctionId; | 9 | use hir_def::FunctionId; |
13 | use hir_ty::{Ty, TypeWalk}; | 10 | use hir_ty::{Ty, TypeWalk}; |
11 | use itertools::Itertools; | ||
14 | use ra_db::SourceDatabaseExt; | 12 | use ra_db::SourceDatabaseExt; |
15 | use ra_syntax::AstNode; | 13 | use ra_syntax::AstNode; |
14 | use rand::{seq::SliceRandom, thread_rng}; | ||
16 | 15 | ||
17 | use crate::{progress_report::ProgressReport, Result, Verbosity}; | 16 | use crate::{progress_report::ProgressReport, Result, Verbosity}; |
18 | 17 | ||