Skip to content

Commit fb95296

Browse files
committed
Spelling nits
1 parent f4d65c1 commit fb95296

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

crates/ide_completion/src/completions/attribute.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//!
33
//! This module uses a bit of static metadata to provide completions
44
//! for built-in attributes.
5-
//! Non-builtin attribute(excluding derives attributes) completions are done in [`super::unqualified_path`].
5+
//! Non-built-in attribute (excluding derives attributes) completions are done in [`super::unqualified_path`].
66
77
use ide_db::{
88
helpers::{

docs/user/manual.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ If the date is more than a week ago, it's better to update rust-analyzer version
445445

446446
The next thing to check would be panic messages in rust-analyzer's log.
447447
Log messages are printed to stderr, in VS Code you can see then in the `Output > Rust Analyzer Language Server` tab of the panel.
448-
To see more logs, set `RA_LOG=info` environmental variable.
448+
To see more logs, set the `RA_LOG=info` environment variable.
449449

450450
To fully capture LSP messages between the editor and the server, set `"rust-analyzer.trace.server": "verbose"` config and check
451451
`Output > Rust Analyzer Language Server Trace`.
@@ -624,7 +624,7 @@ Relative paths are interpreted relative to `rust-project.json` file location or
624624

625625
See https://github.com/rust-analyzer/rust-project.json-example for a small example.
626626

627-
You can set `RA_LOG` environmental variable to `rust_analyzer=info` to inspect how rust-analyzer handles config and project loading.
627+
You can set the `RA_LOG` environment variable to `rust_analyzer=info` to inspect how rust-analyzer handles config and project loading.
628628

629629
Note that calls to `cargo check` are disabled when using `rust-project.json` by default, so compilation errors and warnings will no longer be sent to your LSP client. To enable these compilation errors you will need to specify explicitly what command rust-analyzer should run to perform the checks using the `checkOnSave.overrideCommand` configuration. As an example, the following configuration explicitly sets `cargo check` as the `checkOnSave` command.
630630

0 commit comments

Comments
 (0)