-
Notifications
You must be signed in to change notification settings - Fork 976
Closed as duplicate of#3863
Description
Read the comment on the playground for reproduction:
// This is unformatted code
// Run Rustfmt on Tools to test the issue
fn main() {
// Rustfmt handle these lines correctly
let sample1=http_client.post(config.portal_api.base_url.join("login").unwrap())
.json(&login_request_body).send().await.unwrap();
// Rustfmt can't format these lines
let sample2=http_client.post(config.portal_api.base_url.join("login").unwrap())
.header("api-info", "V2|appVerson|deviceBrand|deviceModel|deviceScreenResolution|deviceOs|deviceOsVersion|deviceNetworkProvider|deviceNetworkType")
.json(&login_request_body).send().await.unwrap();
}Metadata
Metadata
Assignees
Labels
No labels