remove not needed enum keys

This commit is contained in:
Rokas Puzonas 2023-12-17 13:15:02 +02:00
parent c5bf80a9b5
commit 8eb9656ed3

View File

@ -6,11 +6,9 @@ pub const Input = struct {
lines: []const []const u8
};
// For now only .uint is needed
pub const Result = union(enum) {
float: f32,
uint: u32,
int: i32,
text: [64:0]u8
};
pub const Solver = *const fn(input: *Input) anyerror!Result;