diff options
author | rabite <rabite@posteo.de> | 2019-04-06 13:08:20 +0200 |
---|---|---|
committer | rabite <rabite@posteo.de> | 2019-04-06 13:08:20 +0200 |
commit | a5400b1e6ca351454765ae9aad6500d5b165a20f (patch) | |
tree | 3661ebb60b427ac2c9a2440bc412461b237f6421 /src/fail.rs | |
parent | c6b98a77262ae91807362b864bbf1f981c266efc (diff) |
fix warnings
Diffstat (limited to 'src/fail.rs')
-rw-r--r-- | src/fail.rs | 6 |
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(); |