suppress warning from latest rust

This commit is contained in:
bunnie 2024-06-15 00:41:05 +08:00
parent ec41c73aa9
commit 89dbf88e51

View file

@ -92,6 +92,7 @@ impl<'a, B: UsbBus + 'a> UsbAllocatable<'a, B> for AppHIDConfig<'a> {
}
#[derive(Debug)]
#[allow(dead_code)]
pub enum AppHIDError {
/// Returned when the maximum amount of packets allowed to stay in AppHID is reached, and the
/// oldest is dropped.