Skip to content

Commit 76f951f

Browse files
committed
clippy patches
1 parent a953986 commit 76f951f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/embeddings.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -517,8 +517,8 @@ impl Valentinus {
517517
.map_err(|_| ValentinusError::CollectionNotFound("Invalid key format".to_string()))
518518
}
519519

520-
fn get_indexer_mut<'a>(
521-
txn: &'a lmdb::Transaction,
520+
fn get_indexer_mut(
521+
txn: &lmdb::Transaction,
522522
db_handle: &lmdb::DbHandle,
523523
indexer_name: &str,
524524
) -> Result<KVIndexer, ValentinusError> {
@@ -531,8 +531,8 @@ impl Valentinus {
531531
}
532532
}
533533

534-
fn write_indexer<'a>(
535-
txn: &'a lmdb::Transaction,
534+
fn write_indexer(
535+
txn: &lmdb::Transaction,
536536
db_handle: &lmdb::DbHandle,
537537
indexer_name: &str,
538538
indexer: &KVIndexer,

0 commit comments

Comments
 (0)