From 8c28f5c36700c560c505658679698821618e21a7 Mon Sep 17 00:00:00 2001 From: nreed Date: Wed, 14 Jul 2021 14:59:13 -0400 Subject: [PATCH] removed overlap with other branch --- src/rust/rust.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rust/rust.ts b/src/rust/rust.ts index ea55d6e0..90adf3b7 100644 --- a/src/rust/rust.ts +++ b/src/rust/rust.ts @@ -290,7 +290,7 @@ export const language = { // Lifetime annotations [/'[a-zA-Z_][a-zA-Z0-9_]*(?=[^\'])/, 'identifier'], // Byte literal - [/'(\S|@escapes)'/, 'string.byteliteral'], + [/'(\S)'/, 'string.byteliteral'], // Strings [/"/, { token: 'string.quote', bracket: '@open', next: '@string' }], { include: '@numbers' },