Reformat with trailing comma

This commit is contained in:
Luke Jones
2025-02-14 16:06:20 +13:00
parent 0bdf0474c9
commit 2c006699f2
113 changed files with 791 additions and 792 deletions

View File

@@ -24,7 +24,7 @@ impl USBRaw {
}
fn get_dev_handle(
device: &Device<rusb::GlobalContext>
device: &Device<rusb::GlobalContext>,
) -> Result<DeviceHandle<rusb::GlobalContext>> {
// We don't expect this ID to ever change
let device = device.open()?;
@@ -42,7 +42,7 @@ impl USBRaw {
0x35e, // value
0x00, // index
message,
Duration::from_millis(200)
Duration::from_millis(200),
)
.map_err(PlatformError::USB)
}