diff options
author | HampusM <hampus@hampusmat.com> | 2024-05-24 22:59:14 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2024-05-24 22:59:14 +0200 |
commit | a1b108022ef8f4035af98b9d96eb30302d16c32f (patch) | |
tree | e46c787ec7018aab10e9e66b1333a3e751156ca5 /glfw | |
parent | 9ed8f23f3d88bd63ce762d222bbd47ff493c598a (diff) |
refactor(glfw): make Hint non-exhaustive
Diffstat (limited to 'glfw')
-rw-r--r-- | glfw/src/window.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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, |