Closed as not planned
Description
Hi, I'm having a problem with cargo fmt , like this:
error[internal]: left behind trailing whitespace
--> /playground/src/main.rs:5:5:1
|
5 |
| ^^^^^^^^
|
warning: rustfmt has failed to format. See previous 1 errors.
code looks like this:
fn main() {
let a = Some(1);
let Some(a) = a else{
panic!("none");
};
println!("{a}");
}
rustc 1.65.0
rustfmt 1.5.1-stable (897e3755 2022-11-02)
Metadata
Metadata
Assignees
Labels
No labels