Merge pull request #262 from lloydac/creation_error_clone

Derive Clone for CreationError
This commit is contained in:
tomaka 2017-08-24 08:23:14 +02:00 committed by GitHub
commit 3b8de1af34

View file

@ -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