dtparse icon indicating copy to clipboard operation
dtparse copied to clipboard

safe unwrap

Open 007gzs opened this issue 1 year ago • 2 comments

007gzs avatar Sep 03 '24 07:09 007gzs

It seems like this is mostly a reformatting commit, along with a couple changes so that some unwrap calls become a Result instead? I'm happy to accept a pull request for one or the other, but it's difficult to understand what functionally changed when most of the lines are formatting. Please also include unit tests to demonstrate the behavior change, rather than just the unwrap tweaks.

bspeice avatar Sep 03 '24 22:09 bspeice

I accepted the modification suggestions from cargo fmt and cargo clippy before submitting. So it caused a lot of formatting

007gzs avatar Sep 04 '24 04:09 007gzs