Skip to content

Commit 42810d7

Browse files
bors[bot]Veykril
andauthored
Merge #44
44: Add `~const` bound to rust grammar r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2 parents 2497896 + c0478a4 commit 42810d7

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)