diff options
author | Ellie Huxtable <ellie@elliehuxtable.com> | 2023-02-06 12:59:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-06 11:59:01 +0000 |
commit | 3abc96fafe052f3c68ac7d1ae18e4fafee8e1f34 (patch) | |
tree | fbcc50070db039bf681e6147617d457f2f34d86d /src | |
parent | 4aa2011e0e25e06edf0db3d775f0460420b6955d (diff) |
Try to make clippy happy 🥺 (#686)
* Try to make clippy happy 🥺
* Fmt
* I missed one (can't run clippy locally on airport wifi...)
Diffstat (limited to 'src')
-rw-r--r-- | src/command/client/history.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/command/client/history.rs b/src/command/client/history.rs index 145fe63a8..34b851d92 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? } |