From 1bf96976a3f58d2e623f0d1f3ba2647289fa4f60 Mon Sep 17 00:00:00 2001 From: ykdy3951 Date: Sat, 2 Mar 2024 02:28:29 +0900 Subject: [PATCH] Fix binding values in handle_history function --- src/commands/history/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/history/mod.rs b/src/commands/history/mod.rs index 0b80f88..56c0b20 100644 --- a/src/commands/history/mod.rs +++ b/src/commands/history/mod.rs @@ -70,7 +70,7 @@ pub async fn handle_history(history: History) -> Result<(), Box([ (":query", condition.into()), (":limit", limit.to_string().into()) - ])?; // Bind the values to the statement + ])?; while let Ok(State::Row) = statement.next() { let id: i64 = statement.read(0)?;