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