remove to_string()

This commit is contained in:
gogim1
2022-07-01 14:24:01 +08:00
parent fe8a0300a1
commit d9f1857d98

View File

@@ -226,7 +226,7 @@ mod decl {
if step.is_one() {
return Ok(format!("count({})", cur));
}
Ok(format!("count({}, {})", cur, step.to_string()))
Ok(format!("count({}, {})", cur, step))
}
}
impl IterNextIterable for PyItertoolsCount {}