Closed wugifer closed 1 year ago
rustup 1.24.3 (ce5817a94 2021-05-31)
rustfmt 1.4.38-stable (db9d1b20 2022-01-20)
Cargo.toml:
[package] edition = "2021"
add edition = "2018" in rustfmt.toml, done
Please report issues in rust-lang/rust-analyzer in the future. This repo is only for the rust-analyzer website, https://rust-analyzer.github.io/.
I wrote this:
after formatted, I got this:
that is ok.
but when I wrote this:
after formatted, nothing happen.
version: rust-analyzer v0.3.1301