From b82c86acc95e0f9d94a5ec5a76b8b3e39fc2e4ae Mon Sep 17 00:00:00 2001 From: CJ van den Berg Date: Mon, 9 Mar 2026 11:17:59 +0100 Subject: [PATCH] refactor: misc cleanup --- src/nightwatch.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nightwatch.zig b/src/nightwatch.zig index 167f246..42ece02 100644 --- a/src/nightwatch.zig +++ b/src/nightwatch.zig @@ -16,14 +16,14 @@ pub const Variant = switch (builtin.os.tag) { else => @compileError("unsupported OS"), }; -pub const defaultVariant: Variant = switch (builtin.os.tag) { +pub const default_variant: Variant = switch (builtin.os.tag) { .linux => .threaded, .macos, .freebsd, .openbsd, .netbsd, .dragonfly => .kqueue, .windows => .windows, else => @compileError("unsupported OS"), }; -pub const Default: type = Create(defaultVariant); +pub const Default: type = Create(default_variant); pub fn Create(comptime variant: Variant) type { return struct {