mirror of
https://github.com/astral-sh/ruff
synced 2026-01-11 00:24:13 -05:00
Use #[expect(lint)] over #[allow(lint)] where possible (#17822)
This commit is contained in:
@@ -1365,7 +1365,7 @@ impl<'a> Generator<'a> {
|
||||
|
||||
if !conversion.is_none() {
|
||||
self.p("!");
|
||||
#[allow(clippy::cast_possible_truncation)]
|
||||
|
||||
self.p(&format!("{}", conversion as u8 as char));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user