mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-29 04:40:04 -04:00
Mark platform extension enums as #[non_exhaustive]
OS-defined sets and error enums in the platform crates can now gain variants without a breaking change.
This commit is contained in:
@@ -41,6 +41,7 @@ pub fn reset_dead_keys() {
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
#[non_exhaustive]
|
||||
pub enum Error {
|
||||
/// libxkbcommon is not available
|
||||
XKBNotFound,
|
||||
|
||||
Reference in New Issue
Block a user