diff --git a/src/usb.rs b/src/usb.rs index e7d973e8..38dd0360 100644 --- a/src/usb.rs +++ b/src/usb.rs @@ -1270,7 +1270,7 @@ fn fmt_str_id(strings: &VecMap, id: StringId) pub struct UTF16Bytes<'b>(&'b [u8]); -impl<'b> UTF16Bytes<'b> { +impl UTF16Bytes<'_> { fn chars(&self) -> Vec { self.0.chunks_exact(2) .map(|a| u16::from_le_bytes([a[0], a[1]]))