aboutsummaryrefslogtreecommitdiff
path: root/src/feature
diff options
context:
space:
mode:
Diffstat (limited to 'src/feature')
-rw-r--r--src/feature/tasterank.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/feature/tasterank.rs b/src/feature/tasterank.rs
index 7a93506..66a3678 100644
--- a/src/feature/tasterank.rs
+++ b/src/feature/tasterank.rs
@@ -35,8 +35,9 @@ impl Feature for Tasterank {
35 35
36 let mut msg = String::new(); 36 let mut msg = String::new();
37 let mut i = 1; 37 let mut i = 1;
38 for r in &self.ranks { 38 for rank in &self.ranks {
39 msg.push_str(&format!("{}. {}\n", i + 1, rank)); 39 msg.push_str(&format!("{}. {}\n", i, rank));
40 i += 1;
40 } 41 }
41 println!("(benchm) tasterank before send: {}ms", 42 println!("(benchm) tasterank before send: {}ms",
42 (time::precise_time_ns() - start) / 1000000); 43 (time::precise_time_ns() - start) / 1000000);