aboutsummaryrefslogtreecommitdiff
path: root/book
diff options
context:
space:
mode:
authorJoey Hain2023-11-03 21:21:01 +0000
committerGitHub2023-11-03 21:21:01 +0000
commit70bbbd7d193a7928c9b621af9a7e192ef8251f6b (patch)
tree1b9232d739f8949fcec7f5eaa3f0487326c9f802 /book
parentae6a0a9cfd377fbfa494760282498cf2ca322782 (diff)
add highlight scope for type parameters (#8660)
* rust: add highlight scope for type parameters * handle optional type parameters
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 66121076..a62c07fe 100644
--- a/book/src/themes.md
+++ b/book/src/themes.md
@@ -155,6 +155,7 @@ We use a similar set of scopes as
- `type` - Types
- `builtin` - Primitive types provided by the language (`int`, `usize`)
+ - `parameter` - Generic type parameters (`T`)
- `enum`
- `variant`
- `constructor`