Derive Clone for CreationError

This commit is contained in:
Lloyd Cunningham 2017-08-23 20:52:06 -05:00
parent 200ef9c307
commit f81d6ddf93

View file

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