aboutsummaryrefslogtreecommitdiff
path: root/docs/user
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-07-21 16:09:56 +0100
committerGitHub <[email protected]>2020-07-21 16:09:56 +0100
commiteb613c74da3b82529ed269817b388a3a37dff1fc (patch)
treec1669d095a58dada7f83526c1c27e337bb45bfed /docs/user
parentca2a4ccf0578e1bc3ed06f0a7d34708478a8acae (diff)
Apply suggestions from code review
Co-authored-by: LaurenČ›iu Nicola <[email protected]>
Diffstat (limited to 'docs/user')
-rw-r--r--docs/user/manual.adoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/user/manual.adoc b/docs/user/manual.adoc
index 8e95f51e3..2a58cd85f 100644
--- a/docs/user/manual.adoc
+++ b/docs/user/manual.adoc
@@ -290,7 +290,7 @@ interface Crate {
290 /// By default, inferred from the `root_module` (members are the crates which reside 290 /// By default, inferred from the `root_module` (members are the crates which reside
291 /// inside the directory opened in the editor). 291 /// inside the directory opened in the editor).
292 /// 292 ///
293 /// Set this too `false` for things like standard library and 3rd party crates to 293 /// Set this to `false` for things like standard library and 3rd party crates to
294 /// enable performance optimizations (rust-analyzer assumes that non-member crates 294 /// enable performance optimizations (rust-analyzer assumes that non-member crates
295 /// don't change). 295 /// don't change).
296 is_workspace_member?: boolean; 296 is_workspace_member?: boolean;
@@ -309,11 +309,11 @@ interface Crate {
309 }, 309 },
310 /// The set of cfgs activated for a given crate, like `["unix", "feature=foo", "feature=bar"]`. 310 /// The set of cfgs activated for a given crate, like `["unix", "feature=foo", "feature=bar"]`.
311 cfg: string[]; 311 cfg: string[];
312 /// Target tripple for this Crate. 312 /// Target triple for this Crate.
313 /// 313 ///
314 /// It is use when running `rustc --print cfg` to get target-specific cfgs. 314 /// Used when running `rustc --print cfg` to get target-specific cfgs.
315 target?: string; 315 target?: string;
316 /// Environment variables, used for `env!` macro 316 /// Environment variables, used for the `env!` macro
317 env: : { [key: string]: string; }, 317 env: : { [key: string]: string; },
318 318
319 /// For proc-macro crates, path to compiles proc-macro (.so file). 319 /// For proc-macro crates, path to compiles proc-macro (.so file).