Open dplassgit opened 1 day ago
To Reproduce Enter this into the editor of your choice
fn broken() ->u32 { const x = u32:1 + // keep me u32:2; x }
Then format it.
Expected behavior
The output is the input.
Actual behavior The comment is deleted:
fn broken() -> u32 { const x = u32:1 + u32:2; x }
Similar for unary operator, cast, etc.
To Reproduce Enter this into the editor of your choice
Then format it.
Expected behavior
The output is the input.
Actual behavior The comment is deleted: