Skip to content

Improve code quality#36

Merged
keefehuang merged 15 commits into
mainfrom
improve_code_quality
Aug 5, 2025
Merged

Improve code quality#36
keefehuang merged 15 commits into
mainfrom
improve_code_quality

Conversation

@Ectras

@Ectras Ectras commented Aug 1, 2025

Copy link
Copy Markdown
Collaborator

Several minor changes to increase the code quality. Pushes the MSRV to 1.86.0 because of get_disjoint_mut. It's a lot of small commits, I can also squash them.

Ectras added 12 commits July 31, 2025 12:26
This makes error messages more useful, as it includes the two compared
values.
Having a convention for where the expected and actual result should be
in the macro makes sense, so one can understand error messages without
checking the code. Using the rigth argument for the "right", i.e.
correct, value is easy to remember.
This function was stabilized in 1.86.0.
@Ectras Ectras requested a review from keefehuang August 1, 2025 12:17
@Ectras Ectras force-pushed the improve_code_quality branch from f2168f7 to e8122c5 Compare August 1, 2025 12:24

@keefehuang keefehuang left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. All changes make sense.

@keefehuang keefehuang merged commit 8bd45bb into main Aug 5, 2025
2 checks passed
@Ectras Ectras deleted the improve_code_quality branch August 5, 2025 16:16
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