From 22a69f23f09787a21c9d90d89d980a60606afa43 Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Mon, 18 Oct 2021 20:05:55 -0700 Subject: [PATCH] zig fmt Signed-off-by: Stephen Gutekanst --- glfw/src/Window.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glfw/src/Window.zig b/glfw/src/Window.zig index 65c1518..58e06b4 100644 --- a/glfw/src/Window.zig +++ b/glfw/src/Window.zig @@ -110,13 +110,13 @@ pub inline fn hint(hint_const: usize, value: anytype) Error!void { @compileError("expected pointer to array of u8, got " ++ @typeName(arr_type)); } }, - else => @compileError("expected pointer to array, got " ++ @typeName(pointed_type)), + else => @compileError("expected pointer to array, got " ++ @typeName(pointed_type)), } c.glfwWindowHintString(@intCast(c_int, hint_const), &value[0]); }, else => { @compileError("expected a int, bool, enum, array, or pointer, got " ++ @typeName(value_type)); - } + }, } try getError(); }