Closed Pi-Cla closed 4 months ago
Cargo clippy told me that in a bunch of spots we did not need to pass in references as they would be immediately dereferenced anyways (https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow) and that we could use try_fold() instead of fold() for handling the Option (https://rust-lang.github.io/rust-clippy/master/index.html#/manual_try_fold)
Cargo clippy told me that in a bunch of spots we did not need to pass in references as they would be immediately dereferenced anyways (https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow) and that we could use try_fold() instead of fold() for handling the Option (https://rust-lang.github.io/rust-clippy/master/index.html#/manual_try_fold)