From 3abc96fafe052f3c68ac7d1ae18e4fafee8e1f34 Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Mon, 6 Feb 2023 12:59:01 +0100 Subject: Try to make clippy happy 🥺 (#686) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Try to make clippy happy 🥺 * Fmt * I missed one (can't run clippy locally on airport wifi...) --- src/command/client/history.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/command') diff --git a/src/command/client/history.rs b/src/command/client/history.rs index 145fe63a..34b851d9 100644 --- a/src/command/client/history.rs +++ b/src/command/client/history.rs @@ -257,8 +257,7 @@ impl Cmd { } (Some(session), Some(cwd)) => { let query = format!( - "select * from history where cwd = '{}' and session = '{}';", - cwd, session + "select * from history where cwd = '{cwd}' and session = '{session}';", ); db.query_history(&query).await? } -- cgit v1.3.1