Skip to content

Let-else reformatting #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jan 16, 2023
Merged

Conversation

NickCondron
Copy link
Contributor

Changes made to use the let-else construct where it improves readability. I targeted the code sections that benefited the most. It is somewhat a stylistic/subjective decision in different cases, so I made each change a separate commit in case you want to drop one or more of them.

@encounter
Copy link
Owner

encounter commented Jan 16, 2023

Thanks a lot! let-else is a big improvement. Would you mind updating rust-version in Cargo.toml to 1.65?

Also, rebasing on main should fix CI.

@NickCondron
Copy link
Contributor Author

Rebased and updated Cargo.toml

@encounter encounter merged commit 20dcc50 into encounter:main Jan 16, 2023
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