Skip to content

Commit

Permalink
enh(rust) add union to kEywoRds (#3949)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaebaek-Lee authored Jan 1, 2024
1 parent 50d5adc commit 0fac1c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Core Grammars:
- fix(typescript): params types [Mohamed Ali][]
- fix(rust) fix escaped double quotes in string [Mohamed Ali][]
- fix(rust) fix for r# raw identifier not being highlighted correctly. [JaeBaek Lee][]
- enh(rust) Adding union to be recognized as a keyword in Rust. [JaeBaek Lee][]
- fix(yaml) fix for yaml with keys having brackets highlighted incorrectly [Aneesh Kulkarni][]
- fix(bash) fix # within token being detected as the start of a comment [Felix Uhl][]
- fix(python) fix `or` conflicts with string highlighting [Mohamed Ali][]
Expand Down
1 change: 1 addition & 0 deletions src/languages/rust.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ export default function(hljs) {
"try",
"type",
"typeof",
"union",
"unsafe",
"unsized",
"use",
Expand Down

0 comments on commit 0fac1c6

Please sign in to comment.