summaryrefslogtreecommitdiffstats
path: root/src/error.rs
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2019-08-06 14:02:51 -0400
committerJiayi Zhao <jeff.no.zhao@gmail.com>2019-08-06 14:02:51 -0400
commite0bbe7f3890ee66acfc83357720c9bfabf782c39 (patch)
tree5cbffcecf97b9db516448cce5614d5aebcdb6a03 /src/error.rs
parentc176412f865c14f90a2392e93421f0523ae3b11b (diff)
make usercache persistent
Diffstat (limited to 'src/error.rs')
-rw-r--r--src/error.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs
index 43d1d3e..630dfc8 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -61,6 +61,7 @@ pub struct JoshutoError {
_cause: String,
}
+#[allow(dead_code)]
impl JoshutoError {
pub fn new(_kind: JoshutoErrorKind, _cause: String) -> Self {
JoshutoError { _kind, _cause }