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...) --- atuin-client/src/database.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'atuin-client/src/database.rs') 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) }; -- cgit v1.3.1