projects
/
hlquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6d5f7a
)
Show error type with debug format
author
MegaBrutal
<megabrutal+github@megabrutal.com>
Sat, 18 Feb 2023 22:15:00 +0000
(23:15 +0100)
committer
MegaBrutal
<megabrutal+github@megabrutal.com>
Sat, 18 Feb 2023 22:15:00 +0000
(23:15 +0100)
src/main.rs
patch
|
blob
|
history
diff --git
a/src/main.rs
b/src/main.rs
index f17f6ffb92204d7597fd868e9058a14fbdb381aa..89491c46f78fb9cb78765d1c4b659fdcbf4840f2 100644
(file)
--- a/
src/main.rs
+++ b/
src/main.rs
@@
-35,8
+35,8
@@
enum HLQueryError {
impl Display for HLQueryError {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
match self {
- IOError(e) => write!(f, "{}", e),
- A2SError(e) => write!(f, "{}", e)
+ IOError(e) => write!(f, "{
:?
}", e),
+ A2SError(e) => write!(f, "{
:?
}", e)
}
}
}