display instead of debug open errors
This commit is contained in:
parent
2c01b3761d
commit
d48822fd96
1 changed files with 3 additions and 3 deletions
|
@ -34,11 +34,11 @@ mod dynamic {
|
|||
|
||||
#[derive(Debug, Error)]
|
||||
pub enum OpenError {
|
||||
#[error("{0:?}")]
|
||||
#[error("io: {0}")]
|
||||
Io(#[from] io::Error),
|
||||
#[error("{0:?}")]
|
||||
#[error("image: {0}")]
|
||||
Image(#[from] img::ImageError),
|
||||
#[error("{0:?}")]
|
||||
#[error("audio: {0}")]
|
||||
Audio(#[from] snd::AudioOpenError),
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue