unwrap_block
deleting too much
#11049
Labels
A-assists
C-bug
Category: bug
S-actionable
Someone could pick this issue up and work on it right now
When the code inside a block has only one line, using the
unwrap_block
function sometimes causes rust-analyzer to cut the beginning and end of the line.Some examples that I tested:
rust-analyzer version: db2a708 2021-12-13 stable
rustc version: 1.57.0 (f1edd0429 2021-11-29)
The text was updated successfully, but these errors were encountered: