Merge pull request #262 from lloydac/creation_error_clone
Derive Clone for CreationError
This commit is contained in:
commit
3b8de1af34
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue