common: impl Clone and PartialEq for IntegerOrSdlError

This commit is contained in:
Ben Boeckel
2018-09-03 17:38:03 +02:00
committed by Cobrand
parent a6df5914f1
commit a60c146d70
+1 -1
View File
@@ -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)