summaryrefslogtreecommitdiffstats
path: root/src/fail.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/fail.rs')
-rw-r--r--src/fail.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fail.rs b/src/fail.rs
index a189855..15a8b2c 100644
--- a/src/fail.rs
+++ b/src/fail.rs
@@ -1,6 +1,6 @@
use failure;
use failure::Fail;
-use failure::Backtrace;
+//use failure::Backtrace;
use termion::event::Key;
@@ -279,7 +279,7 @@ impl<T> From<std::sync::PoisonError<T>> for HError {
}
impl<T> From<std::sync::TryLockError<T>> for HError {
- fn from(error: std::sync::TryLockError<T>) -> Self {
+ fn from(_error: std::sync::TryLockError<T>) -> Self {
// dbg!(&error);
let err = HError::TryLockError;
put_log(&err).ok();
@@ -288,7 +288,7 @@ impl<T> From<std::sync::TryLockError<T>> for HError {
}
impl From<std::option::NoneError> for HError {
- fn from(error: std::option::NoneError) -> Self {
+ fn from(_error: std::option::NoneError) -> Self {
//dbg!(&error);
let err = HError::NoneError;
//put_log(&err).ok();