aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/client/search.rs
diff options
context:
space:
mode:
authorEllie Huxtable <ellie@elliehuxtable.com>2022-12-16 18:37:45 +0000
committerGitHub <noreply@github.com>2022-12-16 18:37:45 +0000
commit4c6a287f4d18161ed263bb37905edb2566f81245 (patch)
tree741c34c6fd700788b4d7b29a1b44a95d77cd9819 /src/command/client/search.rs
parentFix session history (#620) (diff)
downloadatuin-4c6a287f4d18161ed263bb37905edb2566f81245.zip
Switch to using ATUIN_LOG instead of RUST_LOG (#642)
* Switch to using ATUIN_LOG instead of RUST_LOG * Stop clippy complaining * I should know better - clippy is never happy :(
Diffstat (limited to 'src/command/client/search.rs')
-rw-r--r--src/command/client/search.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command/client/search.rs b/src/command/client/search.rs
index b87b86c9..456846d4 100644
--- a/src/command/client/search.rs
+++ b/src/command/client/search.rs
@@ -64,7 +64,7 @@ impl Cmd {
pub async fn run(self, db: &mut impl Database, settings: &Settings) -> Result<()> {
if self.interactive {
let item = interactive::history(&self.query, settings, db).await?;
- eprintln!("{}", item);
+ eprintln!("{item}");
} else {
let list_mode = ListMode::from_flags(self.human, self.cmd_only);
let entries = run_non_interactive(