Skip to content

[statement] fix various issues#12

Merged
pchampin merged 5 commits intomainfrom
statement_fix_various_issues
Apr 1, 2026
Merged

[statement] fix various issues#12
pchampin merged 5 commits intomainfrom
statement_fix_various_issues

Conversation

@pchampin
Copy link
Copy Markdown
Collaborator

this fixes a bug in LangString: PartialOrd was case insensitive, but Ord was not
(thanks to clippy for spotting that!)

this also fixes a number of linting issues

@pchampin pchampin requested a review from Tpt November 28, 2025 08:59
@pchampin pchampin changed the title Statement fix various issues [statement] fix various issues Nov 28, 2025
pchampin added a commit that referenced this pull request Nov 28, 2025
NB: cargo clippy is still unhappy, but this is handled in #12
the previous implementation relied on str::to_ascii_lowercase,
which performed an allocation.
We now avoid by implementing ascii-case-insensitive comparison
directly on the str.
pchampin added a commit that referenced this pull request Apr 1, 2026
NB: cargo clippy is still unhappy, but this is handled in #12
@pchampin pchampin merged commit d61331d into main Apr 1, 2026
9 checks passed
@pchampin pchampin deleted the statement_fix_various_issues branch April 1, 2026 14:31
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.

2 participants