all: use expect attribute where possible
This commit is contained in:
parent
c3b50dc653
commit
e377470f3f
134 changed files with 241 additions and 296 deletions
|
|
@ -201,7 +201,7 @@ impl<'a> Tokenizer<'a> {
|
|||
|
||||
#[derive(Debug)]
|
||||
struct Lined<T> {
|
||||
#[allow(dead_code)]
|
||||
#[expect(dead_code)]
|
||||
line: u32,
|
||||
val: T,
|
||||
}
|
||||
|
|
@ -755,7 +755,7 @@ fn write_request_handler<W: Write>(
|
|||
parser = "crate::wl_usr::UsrCon";
|
||||
error = "crate::wl_usr::UsrConError";
|
||||
param = "ev";
|
||||
writeln!(f, " #[allow(dead_code)]")?;
|
||||
writeln!(f, " #[allow(clippy::allow_attributes, dead_code)]")?;
|
||||
}
|
||||
}
|
||||
writeln!(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue