Skip to content

Commit c0478a4

Browse files
committed
Add ~const bounds to rust grammar
1 parent 2497896 commit c0478a4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "ungrammar"
33
description = "A DSL for describing concrete syntax trees"
4-
version = "1.14.8"
4+
version = "1.14.9"
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/matklad/ungrammar"
77
edition = "2018"

rust.ungram

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ TypeBoundList =
573573

574574
TypeBound =
575575
Lifetime
576-
| '?'? Type
576+
| ('?' | '~' 'const')? Type
577577

578578
//************************//
579579
// Patterns //

0 commit comments

Comments
 (0)