From f0a32f44154e5c4dfc63704fe4838da16f9ce096 Mon Sep 17 00:00:00 2001 From: Simon Heath Date: Tue, 20 Sep 2016 10:10:05 -0400 Subject: [PATCH] Make sdl2::filesystem::PrefPathError derive Debug Trivially addresses issue #533 --- src/sdl2/filesystem.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sdl2/filesystem.rs b/src/sdl2/filesystem.rs index 33c3dad7..a99636b1 100644 --- a/src/sdl2/filesystem.rs +++ b/src/sdl2/filesystem.rs @@ -17,6 +17,7 @@ pub fn base_path() -> Result { } } +#[derive(Debug)] pub enum PrefPathError { InvalidOrganizationName(NulError), InvalidApplicationName(NulError),