debug for printerrors trait
This commit is contained in:
parent
8f437e0be9
commit
b2fe9521ed
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -4,7 +4,7 @@ version = 3
|
|||
|
||||
[[package]]
|
||||
name = "alex-utils"
|
||||
version = "0.1.0"
|
||||
version = "0.1.1"
|
||||
dependencies = [
|
||||
"log",
|
||||
]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "alex-utils"
|
||||
version = "0.1.0"
|
||||
version = "0.1.1"
|
||||
edition = "2021"
|
||||
|
||||
[features]
|
||||
|
|
|
@ -7,7 +7,7 @@ pub trait PrintErrors {
|
|||
|
||||
impl<T, E> PrintErrors for Result<T, E>
|
||||
where
|
||||
E: std::error::Error,
|
||||
E: std::fmt::Debug,
|
||||
{
|
||||
type Inner = T;
|
||||
|
||||
|
|
Loading…
Reference in a new issue