Simplify rustfmt settings to remove using unstable rules

This commit is contained in:
Keavon Chambers
2021-03-24 13:37:00 -07:00
parent 0e6c4400dc
commit 75dee589fc
3 changed files with 4 additions and 16 deletions

View File

@@ -21,12 +21,6 @@
},
"editor.formatOnSave": true,
},
"rust-analyzer.rustfmt.extraArgs": [
"--config",
"match_block_trailing_comma=true", // Remove when rustfmt2.0 is released https://github.com/rust-lang/rustfmt/issues/3380
"--config",
"control_brace_style=ClosingNextLine" // Remove when `control_brace_style` becomes stable https://github.com/rust-lang/rustfmt/issues/3377
],
"rust-analyzer.diagnostics.disabled": [
"missing-unsafe" // Remove when rust-analyzer bug fixes unsafe code on WASM JavaScript https://github.com/rust-analyzer/rust-analyzer/issues/5412
],