From 3f8eb246815d3da166eda15ed79905d2c4dae6a5 Mon Sep 17 00:00:00 2001 From: oow214 Date: Thu, 30 Jun 2022 15:40:12 +0900 Subject: [PATCH] Fix itertools count repr --- vm/src/stdlib/itertools.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm/src/stdlib/itertools.rs b/vm/src/stdlib/itertools.rs index 410504d94..3c87e2b86 100644 --- a/vm/src/stdlib/itertools.rs +++ b/vm/src/stdlib/itertools.rs @@ -225,7 +225,7 @@ mod decl { let step = format!("{}", self.step.clone()); if step != "1" { cur.push_str(", "); - cur.push_str(&step.to_string()); + cur.push_str(&step); } Ok(format!("count({})", cur)) }