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

@ -28,12 +28,10 @@ const Server = @import("Server.zig");
xdg_toplevel_decoration: *wlr.XdgToplevelDecorationV1,
// zig fmt: off
destroy: wl.Listener(*wlr.XdgToplevelDecorationV1) =
wl.Listener(*wlr.XdgToplevelDecorationV1).init(handleDestroy),
request_mode: wl.Listener(*wlr.XdgToplevelDecorationV1) =
wl.Listener(*wlr.XdgToplevelDecorationV1).init(handleRequestMode),
// zig fmt: on
pub fn init(self: *Self, xdg_toplevel_decoration: *wlr.XdgToplevelDecorationV1) void {
self.* = .{ .xdg_toplevel_decoration = xdg_toplevel_decoration };