Skip to content

Let-else reformatting#23

Merged
encounter merged 8 commits intoencounter:mainfrom
NickCondron:let-else-formats
Jan 16, 2023
Merged

Let-else reformatting#23
encounter merged 8 commits intoencounter:mainfrom
NickCondron:let-else-formats

Conversation

@NickCondron
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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