You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reworked `validate_utf8` tripped two clippy lints:
- `cognitive_complexity`: the per-validity-variant `match` lived inside the
`match_each_integer_ptype!` macro, multiplying its complexity across every
integer arm. Resolve the validity mask once before the dtype dispatch and
keep a single loop inside the macro.
- `unnecessary_fallible_conversions`: replace `usize::try_from(..)` on the
offset with the infallible `AsPrimitive::as_()` already used for the window
bounds.
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
0 commit comments