summaryrefslogtreecommitdiffstats
path: root/src/paths/error.rs
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2022-11-12 12:33:17 -0600
committerToby Vincent <tobyv13@gmail.com>2022-11-12 12:33:17 -0600
commit2384c24f523edad42c97d96c6bb00c1013353144 (patch)
treeb8c903ca8d7f515c583294ec748f4b2e9a649f2a /src/paths/error.rs
parent6b9b3c885c1238dcbe512890badc4c5f93c8222f (diff)
refactor: change error to use Display instead of Debug
Diffstat (limited to 'src/paths/error.rs')
-rw-r--r--src/paths/error.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/paths/error.rs b/src/paths/error.rs
index 13a69ea..08fdc89 100644
--- a/src/paths/error.rs
+++ b/src/paths/error.rs
@@ -1,8 +1,5 @@
#[derive(thiserror::Error, Debug)]
pub enum Error {
- #[error("Ignore error: {0:?}")]
+ #[error("Ignore error: {0}")]
Ignore(#[from] ignore::Error),
-
- #[error("Path contains invalid unicode: {0:?}")]
- Unicode(String),
}