Format Rust code using rustfmt

This commit is contained in:
github-actions[bot] 2024-07-11 00:32:34 +00:00 committed by GitHub
parent dc933503b1
commit 5dab722d77
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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("&"))