Skip to content

Commit a8c9fa5

Browse files
bors[bot]matklad
andauthored
11: Allow both const & async modifiers r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2 parents 43354a5 + d9d0ed2 commit a8c9fa5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/tools/rust-analyzer/lib/ungrammar/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.1.3"
4+
version = "1.1.4"
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/matklad/ungrammar"
77
authors = ["Aleksey Kladov <aleksey.kladov@gmail.com>"]

src/tools/rust-analyzer/lib/ungrammar/rust.ungram

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ UseTreeList =
125125

126126
Fn =
127127
Attr* Visibility?
128-
'default'? ('async' | 'const')? 'unsafe'? Abi?
128+
'default'? 'const'? 'async'? 'unsafe'? Abi?
129129
'fn' Name GenericParamList? ParamList RetType? WhereClause?
130130
(body:BlockExpr | ';')
131131

0 commit comments

Comments
 (0)