diff options
Diffstat (limited to 'src/error.rs')
-rw-r--r-- | src/error.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/error.rs b/src/error.rs index b84f5eb..9e6adc0 100644 --- a/src/error.rs +++ b/src/error.rs @@ -85,7 +85,7 @@ impl From<sync::TryLockError<sync::MutexGuard<'static, crate::Manager>>> for Err } } -impl<T: device::Device> From<(T, Error)> for Error { +impl<'a, T: device::Device<'a>> From<(T, Error)> for Error { fn from((_, err): (T, Error)) -> Self { err } |