fix build

This commit is contained in:
Nadja Reitzenstein 2022-12-07 16:13:43 +01:00
parent 7eaf2b0394
commit 3d13a393d8
1 changed files with 1 additions and 1 deletions

View File

@ -29,6 +29,6 @@ impl<I: AsRef<[u8]>, A: Adapter> Index<I, A> {
pub fn get<T: Transaction>(
&self, txn: &T, lookup: I,
) -> Result<Option<A::Item>, db::Error> {
self.db.get(txn, lookup)
self.db.get(txn, &lookup)
}
}