aboutsummaryrefslogtreecommitdiff
path: root/grammars/rust.bp
diff options
context:
space:
mode:
Diffstat (limited to 'grammars/rust.bp')
-rw-r--r--grammars/rust.bp2
1 files changed, 1 insertions, 1 deletions
diff --git a/grammars/rust.bp b/grammars/rust.bp
index 97a1e73..108b41a 100644
--- a/grammars/rust.bp
+++ b/grammars/rust.bp
@@ -7,7 +7,7 @@
# See the accompanying README.md for more info.
comment: "//" .. $ / "/*" ..%(comment / \n) "*/"
-string: `" ..%(`\.) `"
+string: `" ..%string-escape `"
keyword:
"as" / "break" / "const" / "continue" / "crate" / "else" / "enum" / "extern" /
"false" / "fn" / "for" / "if" / "impl" / "in" / "let" / "loop" / "match" /