mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-07-30 17:25:58 -04:00
zig fmt
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user