Skip to content

Commit cf173a3

Browse files
committed
Fix missing anonymous lifetime
1 parent ab44ad3 commit cf173a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benches/benchmark.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ mod hnsw {
3333
fn create_db_and_fill_with_vecs<const DIM: usize>(
3434
env: &Env,
3535
size: usize,
36-
) -> hannoy::Result<(Writer<Cosine>, RwTxn, Database<Cosine>)> {
36+
) -> hannoy::Result<(Writer<Cosine>, RwTxn<'_>, Database<Cosine>)> {
3737
let mut wtxn = env.write_txn().unwrap();
3838

3939
let db: Database<Cosine> = env.create_database(&mut wtxn, None)?;

0 commit comments

Comments
 (0)