Skip to content

Commit

Permalink
More Type fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bobf committed Aug 31, 2024
1 parent af4de25 commit a8a552c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/commands/generate/view.zig
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const Action = struct {
// Parse a view arg. Grammar:
// [index[:static]|get[:static]|post[:static]|put[:static]|patch[:static]|delete[:static]]
fn parseAction(arg: []const u8) ?Action {
inline for (@typeInfo(Method).Enum.fields) |tag| {
inline for (@typeInfo(Method).@"enum".fields) |tag| {
const with_static = tag.name ++ ":static";
const method: Method = @enumFromInt(tag.value);

Expand Down

0 comments on commit a8a552c

Please sign in to comment.