This is more of a nitpick than an actual issue with the code, but there are a couple places where indentation is improper or inconsistent (namely here and here), potentially making it a bit more difficult for a third-party reader to understand the code. Running rustfmt on the project will format the code to meet a standard defined by the Rust community. Some changes will include converting tabs to spaces, ensuring proper levels of indentation, and moving some code to new lines if deemed too long. Settings can be configured if you're not happy with the defaults.
This is more of a nitpick than an actual issue with the code, but there are a couple places where indentation is improper or inconsistent (namely here and here), potentially making it a bit more difficult for a third-party reader to understand the code. Running rustfmt on the project will format the code to meet a standard defined by the Rust community. Some changes will include converting tabs to spaces, ensuring proper levels of indentation, and moving some code to new lines if deemed too long. Settings can be configured if you're not happy with the defaults.