From 500ace3372584edbdcade6f9e3cd79d6dfb14261 Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Fri, 7 Jun 2024 14:47:29 +0200 Subject: [PATCH] Fix typos --- crates/ide/src/syntax_highlighting.rs | 8 ++++---- docs/book/book.toml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/ide/src/syntax_highlighting.rs b/crates/ide/src/syntax_highlighting.rs index 93b52434537f..718d778d029c 100644 --- a/crates/ide/src/syntax_highlighting.rs +++ b/crates/ide/src/syntax_highlighting.rs @@ -164,19 +164,19 @@ pub struct HighlightConfig { // |-----------|--------------------------------| // |async| Emitted for async functions and the `async` and `await` keywords.| // |attribute| Emitted for tokens inside attributes.| -// |callable| Emitted for locals whose types implements one of the `Fn*` taits.| +// |callable| Emitted for locals whose types implements one of the `Fn*` traits.| // |constant| Emitted for const.| -// |consuming| Emitted for locals that are being consumed when use in a fuction call.| +// |consuming| Emitted for locals that are being consumed when use in a function call.| // |controlFlow| Emitted for control-flow related tokens, this includes th `?` operator.| // |crateRoot| Emitted for crate names, like `serde` and `crate.| // |declaration| Emitted for names of definitions, like `foo` in `fn foo(){}`.| // |defaultLibrary| Emitted for items from built-in crates (std, core, allc, test and proc_macro).| // |documentation| Emitted for documentation comment.| -// |injected| Emitted for doc-string injected highlighting like rust sourc blocks in documentation.| +// |injected| Emitted for doc-string injected highlighting like rust source blocks in documentation.| // |intraDocLink| Emitted for intra doc links in doc-string.| // |library| Emitted for items that are defined outside of the current crae.| // |macro| Emitted for tokens inside macro call.| -// |mutable| Emitted for mutable locals and statics as well as functions tking `&mut self`.| +// |mutable| Emitted for mutable locals and statics as well as functions taking `&mut self`.| // |public| Emitted for items that are from the current crate and are `pub.| // |reference| Emitted for locals behind a reference and functions taking self` by reference.| // |static| Emitted for "static" functions, also known as functions that d not take a `self` param, as well as statics and consts.| diff --git a/docs/book/book.toml b/docs/book/book.toml index 2aec8c39c947..2f88d188968d 100644 --- a/docs/book/book.toml +++ b/docs/book/book.toml @@ -28,7 +28,7 @@ heading-split-level = 2 limit-results = 20 use-boolean-and = true -[ouput.html.redirect] +[output.html.redirect] "/manual.html" = "/index.html" [output.html.fold]