From a60c146d702168b2dfa24a82906cbf67d6f18723 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Wed, 22 Aug 2018 16:37:36 -0400 Subject: [PATCH] common: impl Clone and PartialEq for IntegerOrSdlError --- src/sdl2/common.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sdl2/common.rs b/src/sdl2/common.rs index 88a73dae..7eeae915 100644 --- a/src/sdl2/common.rs +++ b/src/sdl2/common.rs @@ -3,7 +3,7 @@ use std::fmt; /// A given integer was so big that its representation as a C integer would be /// negative. -#[derive(Debug)] +#[derive(Debug, Clone, PartialEq)] pub enum IntegerOrSdlError { IntegerOverflows(&'static str, u32), SdlError(String)