encounter / objdiff

A local diffing tool for decompilation projects
Apache License 2.0
99 stars 18 forks source link

Let-else reformatting #23

Closed NickCondron closed 1 year ago

NickCondron commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

Rebased and updated Cargo.toml