all: use expect attribute where possible
This commit is contained in:
parent
c3b50dc653
commit
e377470f3f
134 changed files with 241 additions and 296 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue