fix(doit): repeated params string addition

It seems odd that String + &str is required.
In any way, previously it would try to add i32 to a string.
This commit is contained in:
Sebastian Thiel
2015-03-17 19:59:04 +01:00
parent d2bf24ca85
commit b90a191688

View File

@@ -472,7 +472,7 @@ match result {
if ${pname}.len() > 0 {
let mut s = String::new();
for f in ${pname}.iter() {
s.push_str(&("/".to_string() + f));
s.push_str(&("/".to_string() + &f.to_string()));
}
params.push(("${p.name}", s));
}