mirror of
https://github.com/encounter/rust-sdl2.git
synced 2026-07-10 21:18:41 -07:00
common: impl Clone and PartialEq for IntegerOrSdlError
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user