Open pacu opened 1 year ago
This issue is caused by https://github.com/tokio-rs/tracing/issues/2410 and isn't something we can fix right now. In the interim, prefer rustfmt
correctness (once the upstream issue is resolved, the clippy warning will go away).
I've fixed this upstream in https://github.com/tokio-rs/tracing/pull/2437 and confirmed that our clippy lint is fixed by it. Once that PR is accepted and in a release, a cargo update
will be sufficient to close this issue.
If I run cargo format and clippy I'd get contradicting errors. Fixing one them for one tool would break the other tool. Specifically around the
clippy::suspicious-else-formatting
rule.These two things are changes that clippy made me do.