diff options
Diffstat (limited to 'crates/ra_cli')
-rw-r--r-- | crates/ra_cli/src/analysis_stats.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_cli/src/analysis_stats.rs b/crates/ra_cli/src/analysis_stats.rs index a46ac974d..ee410c548 100644 --- a/crates/ra_cli/src/analysis_stats.rs +++ b/crates/ra_cli/src/analysis_stats.rs | |||
@@ -36,10 +36,10 @@ pub fn run(verbose: bool) -> Result<()> { | |||
36 | } | 36 | } |
37 | 37 | ||
38 | for impl_block in module.impl_blocks(&db) { | 38 | for impl_block in module.impl_blocks(&db) { |
39 | for item in impl_block.items() { | 39 | for item in impl_block.items(&db) { |
40 | num_decls += 1; | 40 | num_decls += 1; |
41 | match item { | 41 | match item { |
42 | ImplItem::Method(f) => funcs.push(*f), | 42 | ImplItem::Method(f) => funcs.push(f), |
43 | _ => {} | 43 | _ => {} |
44 | } | 44 | } |
45 | } | 45 | } |