Skip to content

Commit 2fcc137

Browse files
voidcnathanwhit
andcommitted
Apply suggestions from code review
Co-authored-by: Nathan Whitaker <[email protected]>
1 parent 2d1b754 commit 2fcc137

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chalk-parse/src/parser.lalrpop

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ WellKnownTrait: WellKnownTrait = {
5959
"#" "[" "lang" "(" "unsize" ")" "]" => WellKnownTrait::Unsize,
6060
};
6161

62-
StructReprC: () = "#" "[" "repr" "(" "C" ")" "]";
63-
StructReprPacked: () = "#" "[" "repr" "(" "packed" ")" "]";
62+
StructReprC: () = "#" "[" "repr(C)" "]";
63+
StructReprPacked: () = "#" "[" "repr(packed)" "]";
6464

6565
StructDefn: StructDefn = {
6666
<upstream:UpstreamKeyword?> <fundamental:FundamentalKeyword?> <phantom_data:PhantomDataKeyword?> <repr_c:StructReprC?> <repr_packed:StructReprPacked?>

0 commit comments

Comments
 (0)