Skip to content

fix(encode): apply the transition easing to progress - #238

Merged
LeadcodeDev merged 4 commits into
fix/encode-temp-dirfrom
fix/transition-easing
Sep 22, 2026
Merged

LeadcodeDev merged 4 commits into
fix/encode-temp-dirfrom
fix/transition-easing

Conversation

@LeadcodeDev

Copy link
Copy Markdown
Owner

Severity Medium, category correctness. Location: ?:?

Impact

(see tracking issue)

Fix

Evidence the audit read

Stacked on fix/encode-temp-dir, which carries the previous finding of this workstream. GitHub shows only this finding's diff; merge in order.

Part of the September 2026 audit remediation chantier. Refs #220 (RM-EASING).

@LeadcodeDev LeadcodeDev added the bug Something isn't working label Sep 21, 2026
@LeadcodeDev LeadcodeDev self-assigned this Sep 21, 2026
A newer stable clippy adds `chunks_exact_to_as_chunks`, which fires on every
`chunks_exact` call whose size is a literal. The workspace has 32 of them
across 20 files, so the clippy job fails on every branch — main included. Its
last run, from before this work existed, was already red for the same reason.

The replacement is clippy's own suggestion, `as_chunks::<N>().0.iter()`. It is
not a pure substitution: the iterator now yields `&[T; N]` rather than `&[T]`,
so two sites needed real edits — an assertion comparing against an array
literal, and a predicate taking `&[u8]`. The array type is the better one
anyway; it is what makes the chunk length visible to the compiler.

Completeness is checkable rather than argued: no `chunks_exact` with a literal
size remains in the workspace, so the lint has nothing left to fire on. The
local toolchain predates this lint, so that grep is the verification, not a
local clippy run.
@LeadcodeDev
LeadcodeDev merged commit 386a46c into fix/encode-temp-dir Sep 22, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant