From b90a1916889b2d1cc6c595c3cd121739223db345 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Tue, 17 Mar 2015 19:59:04 +0100 Subject: [PATCH] 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. --- src/mako/lib/mbuild.mako | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mako/lib/mbuild.mako b/src/mako/lib/mbuild.mako index 36bdd1ad84..19583db6ed 100644 --- a/src/mako/lib/mbuild.mako +++ b/src/mako/lib/mbuild.mako @@ -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)); }