Skip to content

fix(core): keep release verification green on current Clippy#35

Draft
hefxpzwk wants to merge 1 commit into
developfrom
bugfix/release-clippy-byte-slice
Draft

fix(core): keep release verification green on current Clippy#35
hefxpzwk wants to merge 1 commit into
developfrom
bugfix/release-clippy-byte-slice

Conversation

@hefxpzwk

Copy link
Copy Markdown
Contributor

Scope

  • Fixes a release-blocking Clippy byte_char_slices warning in quote detection.
  • No behavior change intended; converts an array of byte chars to the equivalent byte string membership check.

Validation

  • ./scripts/verify.sh passed locally.
  • git diff --check passed locally.

Release impact

  • Required before creating v0.1.1-beta.0 from develop, because the release workflow's Verify source ref job runs Clippy with -D warnings.
  • npm publish has not been run.

Risk notes

  • Narrow one-line expression rewrite in crates/tfy-core/src/code.rs.

Use Clippy's byte string form for quote detection without changing string/comment masking behavior.

Constraint: Release workflow runs cargo clippy --workspace --all-targets -- -D warnings on the current GitHub runner toolchain.

Rejected: Suppressing clippy::byte_char_slices | The expression has an equivalent clearer byte-string form.

Confidence: high

Scope-risk: narrow

Directive: Keep quote detection behavior unchanged; this only satisfies the lint form.

Tested: ./scripts/verify.sh; git diff --check

Not-tested: GitHub release dry-run after merge to develop is still pending.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant