Skip to content

Commit b743ed5

Browse files
committed
Fix typos
1 parent 47ed41b commit b743ed5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Diff for: crates/ide/src/syntax_highlighting.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -164,19 +164,19 @@ pub struct HighlightConfig {
164164
// |-----------|--------------------------------|
165165
// |async| Emitted for async functions and the `async` and `await` keywords.|
166166
// |attribute| Emitted for tokens inside attributes.|
167-
// |callable| Emitted for locals whose types implements one of the `Fn*` taits.|
167+
// |callable| Emitted for locals whose types implements one of the `Fn*` traits.|
168168
// |constant| Emitted for const.|
169-
// |consuming| Emitted for locals that are being consumed when use in a fuction call.|
169+
// |consuming| Emitted for locals that are being consumed when use in a function call.|
170170
// |controlFlow| Emitted for control-flow related tokens, this includes th `?` operator.|
171171
// |crateRoot| Emitted for crate names, like `serde` and `crate.|
172172
// |declaration| Emitted for names of definitions, like `foo` in `fn foo(){}`.|
173173
// |defaultLibrary| Emitted for items from built-in crates (std, core, allc, test and proc_macro).|
174174
// |documentation| Emitted for documentation comment.|
175-
// |injected| Emitted for doc-string injected highlighting like rust sourc blocks in documentation.|
175+
// |injected| Emitted for doc-string injected highlighting like rust source blocks in documentation.|
176176
// |intraDocLink| Emitted for intra doc links in doc-string.|
177177
// |library| Emitted for items that are defined outside of the current crae.|
178178
// |macro| Emitted for tokens inside macro call.|
179-
// |mutable| Emitted for mutable locals and statics as well as functions tking `&mut self`.|
179+
// |mutable| Emitted for mutable locals and statics as well as functions taking `&mut self`.|
180180
// |public| Emitted for items that are from the current crate and are `pub.|
181181
// |reference| Emitted for locals behind a reference and functions taking self` by reference.|
182182
// |static| Emitted for "static" functions, also known as functions that d not take a `self` param, as well as statics and consts.|

Diff for: docs/book/book.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ heading-split-level = 2
2828
limit-results = 20
2929
use-boolean-and = true
3030

31-
[ouput.html.redirect]
31+
[output.html.redirect]
3232
"/manual.html" = "/index.html"
3333

3434
[output.html.fold]

0 commit comments

Comments
 (0)