docs: use nightly clippy in vscode (#840)

This commit is contained in:
Aurélien
2023-01-13 12:46:43 +01:00
committed by GitHub
parent 237e66126b
commit 7ef2931dfc

View File

@ -90,6 +90,14 @@ If you are working in VSCode, we recommend you install the [rust-analyzer](https
```json
"editor.formatOnSave": true,
"rust-analyzer.rustfmt.extraArgs": ["+nightly"],
"rust-analyzer.checkOnSave.overrideCommand": [
"cargo",
"+nightly",
"clippy",
"--all",
"--all-features",
"--message-format=json"
],
"[rust]": {
"editor.defaultFormatter": "rust-lang.rust-analyzer"
}