1
0
Fork 0
forked from wry/wry

all: use expect attribute where possible

This commit is contained in:
Julian Orth 2024-09-06 11:08:22 +02:00
parent c3b50dc653
commit e377470f3f
134 changed files with 241 additions and 296 deletions

View file

@ -15,7 +15,7 @@ use {
thiserror::Error,
};
#[allow(dead_code)]
#[expect(dead_code)]
pub const FLAGS_Y_INVERT: u32 = 1;
pub struct ZwlrScreencopyFrameV1 {
@ -81,7 +81,7 @@ impl ZwlrScreencopyFrameV1 {
self.client.event(BufferDone { self_id: self.id })
}
#[allow(dead_code)]
#[expect(dead_code)]
pub fn send_flags(&self, flags: u32) {
self.client.event(Flags {
self_id: self.id,