silence cast_lossless clippy lint from triggering inside macros

This commit is contained in:
auronandace
2026-06-11 09:42:47 +01:00
parent c7c5ab649d
commit 965941564d
4 changed files with 4 additions and 0 deletions
+1
View File
@@ -30,6 +30,7 @@ macro_rules! wc_as_char {
};
}
#[expect(clippy::cast_lossless)] // not all users of `parse_type!` are lossless
pub unsafe fn inner_scanf<T: Kind>(
mut r: Reader<T>,
format: Reader<T>,