From ed04f2d2939dbe89a5a3d0a914b68c44e3e528ed Mon Sep 17 00:00:00 2001 From: Drakulix Date: Sat, 25 Nov 2017 13:58:59 +0100 Subject: [PATCH] Clarify comment --- examples/udev.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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));