File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ version = "0.9"
2727optional = true
2828
2929[dev-dependencies ]
30- rustix = { version = " 0.38 " , features = [" event" ] }
30+ rustix = { version = " 1 " , features = [" event" ] }
3131
3232[features ]
3333default = [" udev" , " log" , " libinput_1_21" ]
Original file line number Diff line number Diff line change @@ -384,7 +384,7 @@ impl Libinput {
384384 /// let mut input = Libinput::new_with_udev(Interface);
385385 /// input.udev_assign_seat("seat0").unwrap();
386386 ///
387- /// while poll(&mut [PollFd::new(&input, PollFlags::IN)], -1 ).is_ok() {
387+ /// while poll(&mut [PollFd::new(&input, PollFlags::IN)], None ).is_ok() {
388388 /// input.dispatch().unwrap();
389389 /// for event in &mut input {
390390 /// // do some processing...
You can’t perform that action at this time.
0 commit comments