We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c7c396 commit fb12d4bCopy full SHA for fb12d4b
src/sys/epoll.rs
@@ -62,7 +62,7 @@ impl EpollEvent {
62
unsafe { mem::zeroed::<EpollEvent>() }
63
}
64
65
- pub const fn events(&self) -> EpollFlags {
+ pub fn events(&self) -> EpollFlags {
66
EpollFlags::from_bits(self.event.events as c_int).unwrap()
67
68
0 commit comments