Skip to content

Commit

Permalink
Run rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
exul committed Feb 5, 2019
1 parent 37eda02 commit 8884b8d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .rustfmt.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
max_width = 128
reorder_imports = true
use_small_heuristics = "Max"
use_small_heuristics = "Max"
4 changes: 2 additions & 2 deletions src/matrix-rocketchat/api/rest_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ impl RestApi {
url::form_urlencoded::byte_serialize(k.as_bytes()).collect::<String>(),
url::form_urlencoded::byte_serialize(v.as_bytes()).collect::<String>(),
]
.join("="),
.join("="),
]
.join("&")
.join("&")
});
let url_string = [base, query_string].join("");
let encoded_url = Url::parse(&url_string).chain_err(|| ErrorKind::ApiCallFailed(url_string))?;
Expand Down

0 comments on commit 8884b8d

Please sign in to comment.