From bec295f2c098296fafa56d066fae074623fe273b Mon Sep 17 00:00:00 2001 From: Nikita Sivukhin Date: Tue, 28 Oct 2025 00:44:23 +0400 Subject: [PATCH] fix clippy --- core/translate/emitter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/translate/emitter.rs b/core/translate/emitter.rs index 66c0bda59..10dd99131 100644 --- a/core/translate/emitter.rs +++ b/core/translate/emitter.rs @@ -983,7 +983,7 @@ fn emit_program_for_update( )) { cursor } else { - let cursor = program.alloc_cursor_index(None, &index)?; + let cursor = program.alloc_cursor_index(None, index)?; program.emit_insn(Insn::OpenWrite { cursor_id: cursor, root_page: RegisterOrLiteral::Literal(index.root_page),