mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-24 22:31:30 +11:00
Merge pull request #262 from lloydac/creation_error_clone
Derive Clone for CreationError
This commit is contained in:
commit
3b8de1af34
|
@ -272,7 +272,7 @@ pub struct WindowBuilder {
|
|||
}
|
||||
|
||||
/// Error that can happen while creating a window or a headless renderer.
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Clone)]
|
||||
pub enum CreationError {
|
||||
OsError(String),
|
||||
/// TODO: remove this error
|
||||
|
|
Loading…
Reference in a new issue