From a1b108022ef8f4035af98b9d96eb30302d16c32f Mon Sep 17 00:00:00 2001 From: HampusM Date: Fri, 24 May 2024 22:59:14 +0200 Subject: refactor(glfw): make Hint non-exhaustive --- glfw/src/window.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/glfw/src/window.rs b/glfw/src/window.rs index 05878a8..91e059d 100644 --- a/glfw/src/window.rs +++ b/glfw/src/window.rs @@ -427,6 +427,7 @@ impl Builder /// Window creation hint #[derive(Debug, Clone, Copy)] #[repr(i32)] +#[non_exhaustive] pub enum Hint { OpenGLDebugContext = crate::ffi::GLFW_OPENGL_DEBUG_CONTEXT, -- cgit v1.2.3-18-g5258