keymgr: Remove outdated TODOs regarding error handling.

These were tackled in #901.
This commit is contained in:
Gabriela Moldovan 2023-06-28 13:07:52 +01:00
parent 6b8218f960
commit 928a9cd7ca
2 changed files with 0 additions and 4 deletions

View File

@ -11,8 +11,6 @@ use std::fmt;
pub type Error = Box<dyn KeystoreError>;
/// An error returned by a [`KeyStore`](crate::KeyStore).
// TODO hs: replace Error with KeyStoreError and create an `ArtiNativeKeyStoreError: KeyStoreError`
// type for ArtiNativeKeyStore.
pub trait KeystoreError:
HasKind + StdError + DynClone + fmt::Debug + fmt::Display + Send + Sync + 'static
{

View File

@ -41,8 +41,6 @@ impl UnparsedOpenSshKey {
}
/// An error that occurred while processing an OpenSSH key.
//
// TODO hs: use this error type instead of crate::Error.
#[derive(thiserror::Error, Debug, Clone)]
pub(crate) enum SshKeyError {
/// Failed to parse an OpenSSH key