You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here a case where rustfmt doesn't do anything. I tried to simplify to the maximum the use case. If you remove (almost) any character, rustfmt does its job.
fnmain(){n().ser(a
.app(default().limieeeeeeeeeeeeeeeeet().error_handler(|err, req| {error!("Invalid model req ","error" => err.to_string());})))}
Tested with the latest nightly: rustfmt 1.4.12-nightly (9f53665 2020-02-10)
The text was updated successfully, but these errors were encountered:
I believe this is due to a known existing issue with chains wherein if the formatted result for any individual chain element exceeds the max_width value then rustmft leaves the entire original chain snippet as is.
Here a case where rustfmt doesn't do anything. I tried to simplify to the maximum the use case. If you remove (almost) any character, rustfmt does its job.
Tested with the latest nightly: rustfmt 1.4.12-nightly (9f53665 2020-02-10)
The text was updated successfully, but these errors were encountered: