From 0829e26354d10afcbe3182549169998811e3fe5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Fri, 31 Jan 2020 21:07:21 +0200 Subject: Fix extra parentheses warnings --- crates/ra_cli/src/analysis_stats.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/ra_cli') diff --git a/crates/ra_cli/src/analysis_stats.rs b/crates/ra_cli/src/analysis_stats.rs index fd0027691..833235bff 100644 --- a/crates/ra_cli/src/analysis_stats.rs +++ b/crates/ra_cli/src/analysis_stats.rs @@ -171,12 +171,12 @@ pub fn run( println!( "Expressions of unknown type: {} ({}%)", num_exprs_unknown, - if num_exprs > 0 { (num_exprs_unknown * 100 / num_exprs) } else { 100 } + if num_exprs > 0 { num_exprs_unknown * 100 / num_exprs } else { 100 } ); println!( "Expressions of partially unknown type: {} ({}%)", num_exprs_partially_unknown, - if num_exprs > 0 { (num_exprs_partially_unknown * 100 / num_exprs) } else { 100 } + if num_exprs > 0 { num_exprs_partially_unknown * 100 / num_exprs } else { 100 } ); println!("Type mismatches: {}", num_type_mismatches); println!("Inference: {:?}, {}", inference_time.elapsed(), ra_prof::memory_usage()); -- cgit v1.2.3