mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-14 18:41:22 +00:00
No longer require fmt::Debug when not necessary (#1158)
This commit is contained in:
@ -44,8 +44,8 @@ where
|
||||
|
||||
impl<A, B> std::error::Error for EitherError<A, B>
|
||||
where
|
||||
A: fmt::Debug + std::error::Error,
|
||||
B: fmt::Debug + std::error::Error
|
||||
A: std::error::Error,
|
||||
B: std::error::Error
|
||||
{
|
||||
fn source(&self) -> Option<&(dyn std::error::Error + 'static)> {
|
||||
match self {
|
||||
|
Reference in New Issue
Block a user