mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-25 14:51: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.
|
/// 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