Skip to content

Commit ad84a47

Browse files
authored
Merge pull request #92 from Smithay/update-to-rustix-1.0
Update to rustix 1.0
2 parents 1a85420 + 36f0c18 commit ad84a47

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ version = "0.9"
2727
optional = true
2828

2929
[dev-dependencies]
30-
rustix = { version = "0.38", features = ["event"] }
30+
rustix = { version = "1", features = ["event"] }
3131

3232
[features]
3333
default = ["udev", "log", "libinput_1_21"]

src/context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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...

0 commit comments

Comments
 (0)