Skip to content

style: fix selector generator Clippy warnings and formatting - #70

Merged
egorsmkv merged 1 commit into
masterfrom
fix-clippy-format
Oct 8, 2026
Merged

egorsmkv merged 1 commit into
masterfrom
fix-clippy-format

Conversation

@egorsmkv

@egorsmkv egorsmkv commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

Fix the existing warnings that blocked strict Clippy and rustfmt after the benchmark harness change. Collapse two nested attribute-selection conditions and use stable sort_by_key with Reverse(score) for descending predicate ranking, preserving tie ordering and behavior. Apply rustfmt to selector_generator.rs; no dependency or API changes.

Validation:

  • cargo clippy --locked --all-targets -- -D warnings passes without lint exceptions.
  • cargo fmt --all --check and git diff --check pass.
  • 31 Rust unit tests and 2 benchmark fixture integration tests pass.
  • All 82 Python tests pass against an extension rebuilt from this branch (dev profile, CPython 3.14.7).

Only src/selector_generator.rs changes.

@egorsmkv
egorsmkv merged commit ad7ee37 into master Oct 8, 2026
5 checks passed
@egorsmkv
egorsmkv deleted the fix-clippy-format branch October 8, 2026 20:22
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