We probably don't need to impl std::error::Error if we implemented From
This commit is contained in:
parent
7f98d3cbba
commit
e16c2e53c7
1 changed files with 0 additions and 2 deletions
|
@ -21,8 +21,6 @@ impl Display for CacheError {
|
|||
}
|
||||
}
|
||||
|
||||
impl std::error::Error for CacheError {}
|
||||
|
||||
impl From<ConnectionError> for CacheError {
|
||||
fn from(err: ConnectionError) -> Self {
|
||||
CacheError::PgError(err)
|
||||
|
|
Loading…
Reference in a new issue