about summary refs log tree commit diff
path: root/src/gfz.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/gfz.zig')
-rw-r--r--src/gfz.zig8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gfz.zig b/src/gfz.zig
index eeb78dc..041632d 100644
--- a/src/gfz.zig
+++ b/src/gfz.zig
@@ -1,5 +1,5 @@
 // Graphics Framework for Zig
-// Copyright (C) 2021-2022  Nguyễn Gia Phong
+// Copyright (C) 2021-2023  Nguyễn Gia Phong
 //
 // This file is part of gfz.
 //
@@ -19,7 +19,7 @@
 const c = @import("cimport.zig");
 const input = @import("input.zig");
 
-pub const Error = error {
+pub const Error = error{
     /// GLFW has not been initialized.
     NotInitialized,
     /// No context is current for this thread.
@@ -88,11 +88,11 @@ pub fn init() Error!void {
 ///
 /// Once this function is called, you must again call `init` successfully
 /// before you will be able to use most GLFW functions.
-/// 
+///
 /// If GLFW has been successfully initialized, this function should be called
 /// before the application exits.  If initialization fails, there is no need
 /// to call this function, as it is called by `init` before it returns failure.
-/// 
+///
 /// This function has no effect if GLFW is not initialized.
 pub fn deinit() Error!void {
     c.glfwTerminate();