mirror of
https://github.com/jetzig-framework/jetzig.git
synced 2025-05-14 14:06:08 +00:00
More Type fixes
This commit is contained in:
parent
af4de258f0
commit
a8a552cfa3
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user