mirror of
https://github.com/romanz/electrs.git
synced 2025-02-24 06:57:53 +01:00
Elide lifetime at iter_prefix_cf()
This commit is contained in:
parent
1a6d03b04a
commit
05d6dc1975
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ impl DBStore {
|
|||
self.iter_prefix_cf(self.txid_cf(), prefix)
|
||||
}
|
||||
|
||||
fn iter_prefix_cf<'a>(&'a self, cf: &rocksdb::ColumnFamily, prefix: Row) -> ScanIterator<'a> {
|
||||
fn iter_prefix_cf(&self, cf: &rocksdb::ColumnFamily, prefix: Row) -> ScanIterator {
|
||||
let mode = rocksdb::IteratorMode::From(&prefix, rocksdb::Direction::Forward);
|
||||
let iter = self.db.iterator_cf(cf, mode);
|
||||
ScanIterator {
|
||||
|
|
Loading…
Add table
Reference in a new issue