diff --git a/src/lib.rs b/src/lib.rs index 85394f49..89e37f1f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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