Merge remote-tracking branch 'origin/mr/313'
This commit is contained in:
commit
e4321bbae2
|
@ -60,8 +60,8 @@ impl HasKind for Error {
|
|||
E::Syntax | E::Decode(_) | E::BadProtocol(_) => EK::LocalProtocolViolation,
|
||||
E::Invalid(_) => EK::BadArgument,
|
||||
E::NotImplemented => EK::NotImplemented,
|
||||
E::AlreadyFinished(_) => EK::Internal,
|
||||
E::Internal(_) => EK::Internal,
|
||||
E::AlreadyFinished(e) => e.kind(),
|
||||
E::Internal(e) => e.kind(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue