Skip to content

Support not in and is not compound operators#301

Open
jgardn3r wants to merge 4 commits into
masterfrom
support-compound-operators
Open

Support not in and is not compound operators#301
jgardn3r wants to merge 4 commits into
masterfrom
support-compound-operators

Conversation

@jgardn3r
Copy link
Copy Markdown
Collaborator

This PR fixes #275.

A slight change in modelling was required to support operators that are multiple tokens. With this, more look ahead was required in several locations. That accounts for the non-compound-operator changes.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 19, 2026

Codecov Report

❌ Patch coverage is 96.94656% with 4 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...re/src/rules/optimising_line_formatter/contexts.rs 96.39% 2 Missing and 2 partials ⚠️

📢 Thoughts on this report? Let us know!

@jgardn3r jgardn3r force-pushed the support-compound-operators branch from 5c11c57 to 92559ba Compare May 19, 2026 06:16
@jgardn3r jgardn3r force-pushed the support-compound-operators branch from 92559ba to 507f8a2 Compare May 19, 2026 23:43
@jgardn3r jgardn3r requested a review from fourls May 20, 2026 05:47
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.

Support new compound operators is not and not in

1 participant