diff --git a/usb_hid_item/src/tree.rs b/usb_hid_item/src/tree.rs index 3da24d5..830a0c7 100644 --- a/usb_hid_item/src/tree.rs +++ b/usb_hid_item/src/tree.rs @@ -151,7 +151,7 @@ impl<'a, 'p> Iterator for Collection<'a, 'p> { impl Drop for Collection<'_, '_> { fn drop(&mut self) { - //while matches!(self.next(), Some(Ok(_))) {} + while matches!(self.next(), Some(Ok(_))) {} } }