code: remove now unnecessary zig fmt directives

zig fmt does what we want since zig 0.8.0
This commit is contained in:
Isaac Freund
2021-06-08 03:20:56 +00:00
parent 1bacaa5b43
commit 021fd8f376
11 changed files with 2 additions and 26 deletions

View File

@ -33,12 +33,8 @@ const View = @import("View.zig");
constraint: *wlr.PointerConstraintV1,
cursor: *Cursor,
// zig fmt: off
destroy: wl.Listener(*wlr.PointerConstraintV1) =
wl.Listener(*wlr.PointerConstraintV1).init(handleDestroy),
set_region: wl.Listener(void) =
wl.Listener(void).init(handleSetRegion),
// zig fmt: on
destroy: wl.Listener(*wlr.PointerConstraintV1) = wl.Listener(*wlr.PointerConstraintV1).init(handleDestroy),
set_region: wl.Listener(void) = wl.Listener(void).init(handleSetRegion),
pub fn init(self: *Self, constraint: *wlr.PointerConstraintV1) void {
const seat = @intToPtr(*Seat, constraint.seat.data);