diff options
Diffstat (limited to 'src/device.rs')
-rw-r--r-- | src/device.rs | 2 |
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, |