@@ -164,19 +164,19 @@ pub struct HighlightConfig {
164
164
// |-----------|--------------------------------|
165
165
// |async| Emitted for async functions and the `async` and `await` keywords.|
166
166
// |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 .|
168
168
// |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.|
170
170
// |controlFlow| Emitted for control-flow related tokens, this includes th `?` operator.|
171
171
// |crateRoot| Emitted for crate names, like `serde` and `crate.|
172
172
// |declaration| Emitted for names of definitions, like `foo` in `fn foo(){}`.|
173
173
// |defaultLibrary| Emitted for items from built-in crates (std, core, allc, test and proc_macro).|
174
174
// |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.|
176
176
// |intraDocLink| Emitted for intra doc links in doc-string.|
177
177
// |library| Emitted for items that are defined outside of the current crae.|
178
178
// |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`.|
180
180
// |public| Emitted for items that are from the current crate and are `pub.|
181
181
// |reference| Emitted for locals behind a reference and functions taking self` by reference.|
182
182
// |static| Emitted for "static" functions, also known as functions that d not take a `self` param, as well as statics and consts.|
0 commit comments