mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 12:33:33 +00:00
Apply suggestions from code review
Co-authored-by: Laurențiu Nicola <lnicola@users.noreply.github.com>
This commit is contained in:
parent
ca2a4ccf05
commit
eb613c74da
1 changed files with 4 additions and 4 deletions
|
@ -290,7 +290,7 @@ interface Crate {
|
|||
/// By default, inferred from the `root_module` (members are the crates which reside
|
||||
/// inside the directory opened in the editor).
|
||||
///
|
||||
/// Set this too `false` for things like standard library and 3rd party crates to
|
||||
/// Set this to `false` for things like standard library and 3rd party crates to
|
||||
/// enable performance optimizations (rust-analyzer assumes that non-member crates
|
||||
/// don't change).
|
||||
is_workspace_member?: boolean;
|
||||
|
@ -309,11 +309,11 @@ interface Crate {
|
|||
},
|
||||
/// The set of cfgs activated for a given crate, like `["unix", "feature=foo", "feature=bar"]`.
|
||||
cfg: string[];
|
||||
/// Target tripple for this Crate.
|
||||
/// Target triple for this Crate.
|
||||
///
|
||||
/// It is use when running `rustc --print cfg` to get target-specific cfgs.
|
||||
/// Used when running `rustc --print cfg` to get target-specific cfgs.
|
||||
target?: string;
|
||||
/// Environment variables, used for `env!` macro
|
||||
/// Environment variables, used for the `env!` macro
|
||||
env: : { [key: string]: string; },
|
||||
|
||||
/// For proc-macro crates, path to compiles proc-macro (.so file).
|
||||
|
|
Loading…
Reference in a new issue