Unnamed repository; edit this file 'description' to name the repository.
Merge pull request #19964 from Wilfred/fix_typos
[minor] Fix typos
Chayim Refael Friedman 11 months ago
parent f15267a · parent e7ae133 · commit 9c3476d
-rw-r--r--crates/hir-def/src/lib.rs2
-rw-r--r--docs/book/README.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/hir-def/src/lib.rs b/crates/hir-def/src/lib.rs
index b41ff026bc..1e8859a9cc 100644
--- a/crates/hir-def/src/lib.rs
+++ b/crates/hir-def/src/lib.rs
@@ -1245,7 +1245,7 @@ pub struct SyntheticSyntax;
// Crate authors can opt their type out of completions in some cases.
// This is done with the `#[rust_analyzer::completions(...)]` attribute.
//
-// All completeable things support `#[rust_analyzer::completions(ignore_flyimport)]`,
+// All completable things support `#[rust_analyzer::completions(ignore_flyimport)]`,
// which causes the thing to get excluded from flyimport completion. It will still
// be completed when in scope. This is analogous to the setting `rust-analyzer.completion.autoimport.exclude`
// with `"type": "always"`.
diff --git a/docs/book/README.md b/docs/book/README.md
index 464ea02512..0a3161f3af 100644
--- a/docs/book/README.md
+++ b/docs/book/README.md
@@ -19,7 +19,7 @@ mdbook will rebuild the documentation as changes are made.
## Making updates
-While not required, installing the mdbook binary can be helfpul in order to see the changes.
+While not required, installing the mdbook binary can be helpful in order to see the changes.
Start with the mdbook [User Guide](https://rust-lang.github.io/mdBook/guide/installation.html) to familiarize yourself with the tool.
## Generated documentation