aboutsummaryrefslogtreecommitdiff
path: root/book
diff options
context:
space:
mode:
authorAnton Romanov2022-06-14 17:35:36 +0000
committerGitHub2022-06-14 17:35:36 +0000
commit7983c71752e2443266ecc65581f3a980696cc294 (patch)
tree04f145b2f0c2e2ccb0d5213f169110e2937c075b /book
parentcdeab337cdba5265dcc72070f2b2e4fd11724670 (diff)
Introduce storage_class highlight scope (#2731)
Diffstat (limited to 'book')
-rw-r--r--book/src/themes.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/book/src/themes.md b/book/src/themes.md
index 7562b205..4c0eda22 100644
--- a/book/src/themes.md
+++ b/book/src/themes.md
@@ -151,6 +151,7 @@ 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`
- `operator` - `||`, `+=`, `>`