debug for printerrors trait

This commit is contained in:
Alex Janka 2024-02-12 09:33:51 +11:00
parent 8f437e0be9
commit b2fe9521ed
3 changed files with 3 additions and 3 deletions

2
Cargo.lock generated
View file

@ -4,7 +4,7 @@ version = 3
[[package]]
name = "alex-utils"
version = "0.1.0"
version = "0.1.1"
dependencies = [
"log",
]

View file

@ -1,6 +1,6 @@
[package]
name = "alex-utils"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
[features]

View file

@ -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;