Silence new clippy false positive

Previously silenced ones now appear to work correctly.
This commit is contained in:
Dirkjan Ochtman 2023-12-29 09:40:34 +01:00
parent fc05905e4e
commit ef34bb311c
1 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
// borrow_deref_ref doesn't get macro detection right, allow for now
#![allow(clippy::from_iter_instead_of_collect, clippy::borrow_deref_ref)]
// unnecessary_fallible_converions doesn't get macro detection right, allow for now
// https://github.com/rust-lang/rust-clippy/issues/12039
#![allow(clippy::unnecessary_fallible_conversions)]
use std::convert::TryFrom;
use std::fs::File;