aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjan <jan@ruken.pw>2016-04-07 13:07:22 (UTC)
committerjan <jan@ruken.pw>2016-04-07 13:07:22 (UTC)
commit47cf2e6ee0489d2504a61e39e76dd88c5747694d (patch)
treed008623b8163f739e3649de6cae43dff4276a3c9 /src
parenta86771fd6932235dd554f3b5e81cf788a1daaf4f (diff)
ups
Diffstat (limited to 'src')
-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);