Skip to content

Commit d020e48

Browse files
committed
enh(rust) can also escape a singe quote
1 parent 2db4c16 commit d020e48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/languages/rust.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ export default function(hljs) {
213213
contains: [
214214
{
215215
scope: "char.escape",
216-
match: /\\(\w|x\w{2}|u\w{4}|U\w{8})/
216+
match: /\\('|\w|x\w{2}|u\w{4}|U\w{8})/
217217
}
218218
]
219219
}

0 commit comments

Comments
 (0)