diff --git a/examples/udev.rs b/examples/udev.rs index 142b7d9..48aa1d9 100644 --- a/examples/udev.rs +++ b/examples/udev.rs @@ -385,7 +385,7 @@ impl UdevHandler, DrmHandlerImpl> for UdevHandlerImpl { } fn device_changed<'a, S: Into>>(&mut self, state: S, device: &StateToken>>) { - //quick and dirty + //quick and dirt, just re-init the device let mut state = state.into(); self.device_removed(&mut state, device); state.with_value(device, |state, device| self.scan_connectors(state, device));