mirror of
https://github.com/uqbar-dao/nectar.git
synced 2025-01-03 14:17:20 +03:00
Format Rust code using rustfmt
This commit is contained in:
parent
dc933503b1
commit
5dab722d77
@ -547,7 +547,8 @@ async fn http_handler(
|
||||
}
|
||||
if request_subdomain != subdomain {
|
||||
let query_string = if !query_params.is_empty() {
|
||||
let params: Vec<String> = query_params.iter()
|
||||
let params: Vec<String> = query_params
|
||||
.iter()
|
||||
.map(|(key, value)| format!("{}={}", key, value))
|
||||
.collect();
|
||||
format!("?{}", params.join("&"))
|
||||
|
Loading…
Reference in New Issue
Block a user