]> Untitled Git - bdk/commit
Refactor db/batch matching
authorTobin Harding <me@tobin.cc>
Wed, 23 Dec 2020 05:19:37 +0000 (16:19 +1100)
committerTobin Harding <me@tobin.cc>
Wed, 24 Feb 2021 02:30:47 +0000 (13:30 +1100)
commit0e6add0cfbf0e25f06b354e82a3f4bf704fcbe69
tree11d527c1f91e91c72f684b0e916c02392ad1ebd4
parent343e97da0e2d0d84af402d94d55caa2e4a9d3859
Refactor db/batch matching

Remove the TODO; refactor matching to correctly handle conditionally
built `Sled` variants. Use `unreachable` instead of `unimplemented` with
a comment hinting that this is a bug, this makes it explicit, both at
runtime and when reading the code, that this match arm should not be hit.
src/database/any.rs