mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-28 07:33:14 -04:00
Merge pull request #262 from lloydac/creation_error_clone
Derive Clone for CreationError
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user