]> Untitled Git - bdk/commit
Use `unwrap_or_else`
authorTobin Harding <me@tobin.cc>
Mon, 21 Dec 2020 09:08:24 +0000 (20:08 +1100)
committerTobin Harding <me@tobin.cc>
Wed, 24 Feb 2021 02:30:46 +0000 (13:30 +1100)
commit5eaa3b0916055f54861ddec7e1e8a83ff62ea36b
tree80a34acedb9a60ed5485d7ccb9a3529ca1037ce7
parent4ad0f54c3048d00e0e6a3702c2e3c9c4899dde91
Use `unwrap_or_else`

As directed by clippy use `unwrap_or_else` in order to take advantage of
lazy evaluation.
testutils/src/lib.rs