mirror of
https://github.com/servo/servo
synced 2026-04-27 18:07:52 +02:00
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:
@@ -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>>,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user