Skip to content

Commit 983532c

Browse files
committed
another small clippy fix
1 parent b12648d commit 983532c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_class_host/device.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ pub fn open_device(ctx: &Context) -> rusb::Result<DeviceHandles> {
6060
continue;
6161
}
6262

63-
let mut handle = device.open()?;
63+
let handle = device.open()?;
6464

6565
let langs = handle.read_languages(TIMEOUT)?;
6666
if langs.is_empty() || langs[0].lang_id() != EN_US {

0 commit comments

Comments
 (0)