Skip to content

Commit c6d87a7

Browse files
committed
Allow braced structs when parsing ExprLet
1 parent 747f42f commit c6d87a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/expr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2117,7 +2117,7 @@ pub(crate) mod parsing {
21172117
#[cfg_attr(docsrs, doc(cfg(feature = "parsing")))]
21182118
impl Parse for ExprLet {
21192119
fn parse(input: ParseStream) -> Result<Self> {
2120-
let allow_struct = AllowStruct(false);
2120+
let allow_struct = AllowStruct(true);
21212121
expr_let(input, allow_struct)
21222122
}
21232123
}

0 commit comments

Comments
 (0)