From f81d6ddf93c15185e911990845be2073c1358b31 Mon Sep 17 00:00:00 2001 From: Lloyd Cunningham Date: Wed, 23 Aug 2017 20:52:06 -0500 Subject: [PATCH] Derive Clone for CreationError --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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