Skip to content

Commit

Permalink
fix(doit): repeated params string addition
Browse files Browse the repository at this point in the history
It seems odd that String + &str is required.
In any way, previously it would try to add i32 to a string.
  • Loading branch information
Byron committed Mar 17, 2015
1 parent d2bf24c commit b90a191
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mako/lib/mbuild.mako
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down

0 comments on commit b90a191

Please sign in to comment.