diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-07 05:48:48 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-07 05:48:48 +0000 |
commit | ef24de24a82fe681581cc130f342363c47c0969a (patch) | |
tree | 0d494f7e1a38b95c92426f58fe6eaa877303a86c /vendor/rustix/src/event/kqueue.rs | |
parent | Releasing progress-linux version 1.74.1+dfsg1-1~progress7.99u1. (diff) | |
download | rustc-ef24de24a82fe681581cc130f342363c47c0969a.tar.xz rustc-ef24de24a82fe681581cc130f342363c47c0969a.zip |
Merging upstream version 1.75.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/rustix/src/event/kqueue.rs')
-rw-r--r-- | vendor/rustix/src/event/kqueue.rs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/vendor/rustix/src/event/kqueue.rs b/vendor/rustix/src/event/kqueue.rs index 05ee4d71b..cd996aaea 100644 --- a/vendor/rustix/src/event/kqueue.rs +++ b/vendor/rustix/src/event/kqueue.rs @@ -73,11 +73,11 @@ impl Event { flags: flags.bits() as _, fflags, data: { - // On openbsd, data is an i64 and not an isize + // On OpenBSD, data is an `i64` and not an `isize`. data as _ }, udata: { - // On netbsd, udata is an isize and not a pointer. + // On NetBSD, udata is an `isize` and not a pointer. // TODO: Strict provenance, prevent int-to-ptr cast. udata as _ }, @@ -93,7 +93,7 @@ impl Event { /// Get the user data for this event. pub fn udata(&self) -> isize { - // On netbsd, udata is an isize and not a pointer. + // On NetBSD, udata is an isize and not a pointer. // TODO: Strict provenance, prevent ptr-to-int cast. self.inner.udata as _ @@ -101,7 +101,7 @@ impl Event { /// Get the raw data for this event. pub fn data(&self) -> i64 { - // On some bsds, data is an isize and not an i64 + // On some BSDs, data is an `isize` and not an `i64`. self.inner.data as _ } @@ -263,7 +263,7 @@ bitflags::bitflags! { /// TODO const ERROR = c::EV_ERROR as _; - /// <https://docs.rs/bitflags/latest/bitflags/#externally-defined-flags> + /// <https://docs.rs/bitflags/*/bitflags/#externally-defined-flags> const _ = !0; } } @@ -294,7 +294,7 @@ bitflags::bitflags! { /// The link count of the file has changed. const LINK = c::NOTE_LINK; - /// <https://docs.rs/bitflags/latest/bitflags/#externally-defined-flags> + /// <https://docs.rs/bitflags/*/bitflags/#externally-defined-flags> const _ = !0; } } @@ -319,7 +319,7 @@ bitflags::bitflags! { /// An error has occurred with following the process. const TRACKERR = c::NOTE_TRACKERR; - /// <https://docs.rs/bitflags/latest/bitflags/#externally-defined-flags> + /// <https://docs.rs/bitflags/*/bitflags/#externally-defined-flags> const _ = !0; } } @@ -351,7 +351,7 @@ bitflags::bitflags! { /// Trigger the event. const TRIGGER = c::NOTE_TRIGGER; - /// <https://docs.rs/bitflags/latest/bitflags/#externally-defined-flags> + /// <https://docs.rs/bitflags/*/bitflags/#externally-defined-flags> const _ = !0; } } |