Skip to content

Commit f71124b

Browse files
committed
Ignore unnecessary_cast lint
This varies by arc. Rather than hardcoding which, we'll just allow here.
1 parent 0c8b356 commit f71124b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

crates/cust/src/device.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,7 @@ impl Device {
352352
unsafe {
353353
driver_sys::cuDeviceGetUuid(&mut cu_uuid, self.device).to_result()?;
354354
}
355+
#[allow(clippy::unnecessary_cast)]
355356
let uuid: [u8; 16] = cu_uuid.bytes.map(|byte| byte as u8);
356357
Ok(uuid)
357358
}

0 commit comments

Comments
 (0)