From 47cf2e6ee0489d2504a61e39e76dd88c5747694d Mon Sep 17 00:00:00 2001 From: jan Date: Thu, 7 Apr 2016 15:07:22 +0200 Subject: ups 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 { let mut msg = String::new(); let mut i = 1; - for r in &self.ranks { - msg.push_str(&format!("{}. {}\n", i + 1, rank)); + for rank in &self.ranks { + msg.push_str(&format!("{}. {}\n", i, rank)); + i += 1; } println!("(benchm) tasterank before send: {}ms", (time::precise_time_ns() - start) / 1000000); -- cgit v0.10.1