summary refs log tree commit diff
diff options
context:
space:
mode:
authorIrene Knapp <ireneista@gmail.com>2020-12-25 21:24:48 -0800
committerIrene Knapp <ireneista@gmail.com>2020-12-25 21:24:48 -0800
commit33f427e4afdf6fc3d99b8db2befcd9e86c785ded (patch)
tree84356462581e1e2646cdfc3c0957e8f2eb1adbcb
parentefc68f54e3476de0bd209995c36043c26131b8df (diff)
Change String to GenericPath
-rw-r--r--src/error.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/error.rs b/src/error.rs
index 6fe18db..adb19bc 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -9,7 +9,7 @@ pub enum Error {
     IO(std::io::Error),
     Parse(String),
     PathListHasEmptyComponents(String),
-    PathIsAFile(String),
+    PathIsAFile(GenericPath),
     PathIsRelative(GenericPath),
     PathInvalid(GenericPath),
 }