Skip to content

Commit a60c146

Browse files
mathstufCobrand
authored andcommitted
common: impl Clone and PartialEq for IntegerOrSdlError
1 parent a6df591 commit a60c146

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sdl2/common.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use std::fmt;
33

44
/// A given integer was so big that its representation as a C integer would be
55
/// negative.
6-
#[derive(Debug)]
6+
#[derive(Debug, Clone, PartialEq)]
77
pub enum IntegerOrSdlError {
88
IntegerOverflows(&'static str, u32),
99
SdlError(String)

0 commit comments

Comments
 (0)