diff options
Diffstat (limited to 'crates')
-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 | ||