]> Untitled Git - bdk/commit
Use contains combinator
authorTobin Harding <me@tobin.cc>
Mon, 18 Jan 2021 08:28:18 +0000 (19:28 +1100)
committerSteve Myers <steve@notmandatory.org>
Mon, 18 Jan 2021 19:39:37 +0000 (11:39 -0800)
commit01585227c54b4422bc65fab7f294dc19f32f476b
tree1a54091461e4a72478b8a8901f8074bc83f2a327
parent52b45c5b89c9c42f6f2b6a165e9b3307156c7465
Use contains combinator

As suggested by clippy, use the `contains` combinator instead of doing
manual range check on floats.
src/blockchain/mod.rs