change #[allow]s to #[expect]s (#41635)

Changed most #[allow]s to #[expect]s, mainly for
clippy::too_many_arguments

Removed unfulfilled expectations

This is my first opensource contribution, so please let me know if
anything should
be done differently.

Testing: Refactor
Part of: #40838

---------

Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
Signed-off-by: TimurBora <timurborisov5561@gmail.com>
Co-authored-by: Tim van der Lippe <TimvdLippe@users.noreply.github.com>
This commit is contained in:
aquaThirsty
2026-01-03 11:54:27 +01:00
committed by GitHub
parent 0c91c3bc81
commit d808cc15d0
95 changed files with 128 additions and 143 deletions

View File

@@ -97,7 +97,7 @@ pub(crate) struct HTMLFormElement {
controls: DomRefCell<Vec<Dom<Element>>>,
/// It is safe to use FxBuildHasher here as `Atom` is in the string_cache.
#[allow(clippy::type_complexity)]
#[expect(clippy::type_complexity)]
past_names_map:
DomRefCell<HashMapTracedValues<Atom, (Dom<Element>, NoTrace<usize>), FxBuildHasher>>,