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/command/client | |
| parent | Fix CI build badge (#683) (diff) | |
| download | atuin-3abc96fafe052f3c68ac7d1ae18e4fafee8e1f34.zip | |
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/command/client')
| -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 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? } |
