Skip to content

Commit

Permalink
adds documentation for the new scopes
Browse files Browse the repository at this point in the history
  • Loading branch information
jakenvac committed Jul 6, 2022
1 parent f104492 commit 98f48d2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion book/src/themes.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,9 @@ We use a similar set of scopes as
- `operator` - `or`, `in`
- `directive` - Preprocessor directives (`#if` in C)
- `function` - `fn`, `func`
- `storage` - Keywords that affect the storage of a variable, function or data structure `static`, `mut`, `const`, `ref`
- `storage` - Keywords that affect the storage of variables, functions, data structures etc.
- `type` - Keywords for declaring the storage of variables, functions, data structures etc. eg `let`, `trait`, `struct` in rust
- `modifier` - Keywords that modify a declaration. eg `static`, `mut`, `const`, `ref` in rust

- `operator` - `||`, `+=`, `>`

Expand Down

0 comments on commit 98f48d2

Please sign in to comment.