Skip to content

Commit

Permalink
enh(rust) can also escape a singe quote
Browse files Browse the repository at this point in the history
  • Loading branch information
joshgoebel committed Dec 25, 2024
1 parent 2db4c16 commit d020e48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/languages/rust.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export default function(hljs) {
contains: [
{
scope: "char.escape",
match: /\\(\w|x\w{2}|u\w{4}|U\w{8})/
match: /\\('|\w|x\w{2}|u\w{4}|U\w{8})/
}
]
}
Expand Down

0 comments on commit d020e48

Please sign in to comment.