aboutsummaryrefslogtreecommitdiff
path: root/src/device.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/device.rs')
-rw-r--r--src/device.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device.rs b/src/device.rs
index fc07baf..cbc826e 100644
--- a/src/device.rs
+++ b/src/device.rs
@@ -536,7 +536,7 @@ fn connect_model(model: Model) -> bool {
}
impl DeviceWrapper {
- fn device(&self) -> &Device {
+ fn device(&self) -> &dyn Device {
match *self {
DeviceWrapper::Storage(ref storage) => storage,
DeviceWrapper::Pro(ref pro) => pro,