Merge remote-tracking branch 'origin/mr/313'

This commit is contained in:
Nick Mathewson 2022-02-14 14:25:28 -05:00
commit e4321bbae2
1 changed files with 2 additions and 2 deletions

View File

@ -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(),
}
}
}