diff --git a/src/Notification.zig b/src/Notification.zig index e8830f9a7..74fd5af3f 100644 --- a/src/Notification.zig +++ b/src/Notification.zig @@ -397,7 +397,7 @@ pub fn register(self: *Notification, comptime event: EventType, receiver: anytyp if (gop.found_existing) { for (gop.value_ptr.items) |existing| { if (existing.event == event) { - lp.assert(@as(*const anyopaque, @ptrCast(func)) == existing.func, "different notification callbacks per receiver", .{.event = event}); + lp.assert(@as(*const anyopaque, @ptrCast(func)) == existing.func, "different notification callbacks per receiver", .{ .event = event }); return; } }