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 /atuin-client/src/database.rs | |
| 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 '')
| -rw-r--r-- | atuin-client/src/database.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/atuin-client/src/database.rs b/atuin-client/src/database.rs index 874c4407..d0e696c4 100644 --- a/atuin-client/src/database.rs +++ b/atuin-client/src/database.rs @@ -448,7 +448,7 @@ impl Database for Sqlite { } else if let Some(term) = query_part.strip_prefix('\'') { format!("{glob}{term}{glob}") } else if is_inverse { - format!("{glob}{term}{glob}", term = query_part) + format!("{glob}{query_part}{glob}") } else { query_part.split("").join(glob) }; |
