summaryrefslogtreecommitdiffstats
path: root/src/error/error_type.rs
diff options
context:
space:
mode:
authorJeff Zhao <jeff.no.zhao@gmail.com>2023-08-12 15:32:34 -0400
committerJeff Zhao <jeff.no.zhao@gmail.com>2023-08-12 15:32:34 -0400
commitf9ebd1055b916532e307e1b64be296d74e760d0b (patch)
treed50da96c6d04cedc7aad5975f7358e852309a1f0 /src/error/error_type.rs
parent77eac9f85535cf5e40818bb526d1f898ce4514e5 (diff)
add trash support via command line tools instead of library
Diffstat (limited to 'src/error/error_type.rs')
-rw-r--r--src/error/error_type.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/error/error_type.rs b/src/error/error_type.rs
index 4e2eaad..a195ef6 100644
--- a/src/error/error_type.rs
+++ b/src/error/error_type.rs
@@ -56,17 +56,6 @@ impl From<std::env::VarError> for JoshutoError {
}
}
-#[cfg(feature = "recycle_bin")]
-impl From<trash::Error> for JoshutoError {
- fn from(err: trash::Error) -> Self {
- let cause = err.to_string();
- Self {
- _kind: JoshutoErrorKind::TrashError,
- _cause: cause,
- }
- }
-}
-
impl From<toml::de::Error> for JoshutoError {
fn from(err: toml::de::Error) -> Self {
let cause = err.to_string();