mirror of
https://github.com/encounter/rust-sdl2.git
synced 2026-07-10 21:18:41 -07:00
Make sdl2::filesystem::PrefPathError derive Debug
Trivially addresses issue #533
This commit is contained in:
@@ -17,6 +17,7 @@ pub fn base_path() -> Result<String, String> {
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub enum PrefPathError {
|
||||
InvalidOrganizationName(NulError),
|
||||
InvalidApplicationName(NulError),
|
||||
|
||||
Reference in New Issue
Block a user