Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b27c990

Browse files
committed
fix(API): simplified call to form_urlencode
It now supports more generic inputs, as suggested in a lenghty dialog on a corresponding github issue. Required to build with >=0.2.33
1 parent fb80b05 commit b27c990

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/mako/api/lib/mbuild.mako

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ else {
658658
659659
if params.len() > 0 {
660660
url.push('?');
661-
url.push_str(&url::form_urlencoded::serialize(params.iter().map(|t| (t.0, t.1.as_ref()))));
661+
url.push_str(&url::form_urlencoded::serialize(params));
662662
}
663663
664664
% if request_value:

0 commit comments

Comments
 (0)