summaryrefslogtreecommitdiffstats
path: root/src/fail.rs
diff options
context:
space:
mode:
authorrabite <rabite@posteo.de>2019-04-06 13:08:20 +0200
committerrabite <rabite@posteo.de>2019-04-06 13:08:20 +0200
commita5400b1e6ca351454765ae9aad6500d5b165a20f (patch)
tree3661ebb60b427ac2c9a2440bc412461b237f6421 /src/fail.rs
parentc6b98a77262ae91807362b864bbf1f981c266efc (diff)
fix warnings
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();