From 2e2714a50bdb473fe4150efeb81ae0ccc99134b1 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Wed, 7 Oct 2026 17:18:53 -0400 Subject: [PATCH] =?UTF-8?q?core:=20clippy=20=E2=80=94=20a=20one-element=20?= =?UTF-8?q?slice=20from=20a=20reference=20in=20the=20store=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- core/src/local/store.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/local/store.rs b/core/src/local/store.rs index d3c22e4..ee688a3 100644 --- a/core/src/local/store.rs +++ b/core/src/local/store.rs @@ -1444,7 +1444,7 @@ mod tests { // An own note's order is still its own edit, with no separate stamp. let mine = note(&conn, "mine"); - reorder(&conn, &[mine.id.clone()]).expect("reorder mine"); + reorder(&conn, std::slice::from_ref(&mine.id)).expect("reorder mine"); let own: Option = conn .query_row( "SELECT state_at FROM notes WHERE id = ?1",