diff options
Diffstat (limited to 'tvix/castore')
-rw-r--r-- | tvix/castore/src/errors.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tvix/castore/src/errors.rs b/tvix/castore/src/errors.rs index e807a19b9e61..8343d0774aec 100644 --- a/tvix/castore/src/errors.rs +++ b/tvix/castore/src/errors.rs @@ -1,4 +1,3 @@ -use std::sync::PoisonError; use thiserror::Error; use tokio::task::JoinError; use tonic::Status; @@ -13,12 +12,6 @@ pub enum Error { StorageError(String), } -impl<T> From<PoisonError<T>> for Error { - fn from(value: PoisonError<T>) -> Self { - Error::StorageError(value.to_string()) - } -} - impl From<JoinError> for Error { fn from(value: JoinError) -> Self { Error::StorageError(value.to_string()) |