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]]
|
[[package]]
|
||||||
name = "alex-utils"
|
name = "alex-utils"
|
||||||
version = "0.1.0"
|
version = "0.1.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"log",
|
"log",
|
||||||
]
|
]
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "alex-utils"
|
name = "alex-utils"
|
||||||
version = "0.1.0"
|
version = "0.1.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
|
|
|
@ -7,7 +7,7 @@ pub trait PrintErrors {
|
||||||
|
|
||||||
impl<T, E> PrintErrors for Result<T, E>
|
impl<T, E> PrintErrors for Result<T, E>
|
||||||
where
|
where
|
||||||
E: std::error::Error,
|
E: std::fmt::Debug,
|
||||||
{
|
{
|
||||||
type Inner = T;
|
type Inner = T;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue