Apply suggestions from code review

Co-Authored-By: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
Aleksey Sidorov 2019-06-24 13:35:11 +03:00 committed by GitHub
parent b1bc629b83
commit c40ee089f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -201,12 +201,12 @@
], ],
"description": "Whether to run `cargo watch` on startup" "description": "Whether to run `cargo watch` on startup"
}, },
"rust-analyzer.cargo-watch.check-arguments": { "rust-analyzer.cargo-watch.command-arguments": {
"type": "string", "type": "string",
"description": "`cargo-watch` arguments. (e.g: `--features=\"shumway,pdf\"` will run as `cargo watch -x \"check --features=\"shumway,pdf\"\"` )", "description": "`cargo-watch` arguments. (e.g: `--features=\"shumway,pdf\"` will run as `cargo watch -x \"check --features=\"shumway,pdf\"\"` )",
"default": "" "default": ""
}, },
"rust-analyzer.cargo-watch.check-command": { "rust-analyzer.cargo-watch.command": {
"type": "string", "type": "string",
"description": "`cargo-watch` command. (e.g: `clippy` will run as `cargo watch -x clippy` )", "description": "`cargo-watch` command. (e.g: `clippy` will run as `cargo watch -x clippy` )",
"default": "check" "default": "check"

View File

@ -10,8 +10,8 @@ export type CargoWatchTraceOptions = 'off' | 'error' | 'verbose';
export interface CargoWatchOptions { export interface CargoWatchOptions {
enableOnStartup: CargoWatchStartupOptions; enableOnStartup: CargoWatchStartupOptions;
checkArguments: string; arguments: string;
checkCommand: string; command: string;
trace: CargoWatchTraceOptions; trace: CargoWatchTraceOptions;
} }