diff --git a/LList.zig b/LList.zig index 2b57517..350aa08 100644 --- a/LList.zig +++ b/LList.zig @@ -18,7 +18,7 @@ pub fn LList (comptime T: type) type { pub fn Node (comptime T: type) type { return struct { const Self = @This(); - next: *Self, //? Nächste Node in der Liste + next: ?*Self, //? Nächste Node in der Liste pub fn init(this: *Self, value: T) void { @@ -33,6 +33,7 @@ pub fn Node (comptime T: type) type { } pub fn main() !void { - var testList: LLIst(u64) = undefined; + + var testList: LList(u64) = undefined; try testList.init(); } \ No newline at end of file