mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
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:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user