aboutsummaryrefslogtreecommitdiffstats
path: root/crates/turtle/src/command/client/search.rs
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-06-13 01:36:41 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-06-13 01:36:41 +0200
commit47b76481e51451827530714512b30882d85e3a9a (patch)
tree3e64edfa304e11e4dff506683dd0a7ea7929123e /crates/turtle/src/command/client/search.rs
parentchore(treewide): Fix some of `clippy`'s error (diff)
downloadatuin-47b76481e51451827530714512b30882d85e3a9a.zip
chore(treewide): Also fix all `clippy` warnings
Diffstat (limited to 'crates/turtle/src/command/client/search.rs')
-rw-r--r--crates/turtle/src/command/client/search.rs8
1 files changed, 1 insertions, 7 deletions
diff --git a/crates/turtle/src/command/client/search.rs b/crates/turtle/src/command/client/search.rs
index 5c51caea..359864cb 100644
--- a/crates/turtle/src/command/client/search.rs
+++ b/crates/turtle/src/command/client/search.rs
@@ -163,12 +163,7 @@ impl Cmd {
let query = self.query.unwrap_or_else(|| {
std::env::var("ATUIN_QUERY").map_or_else(
|_| vec![],
- |query| {
- query
- .split(' ')
- .map(ToString::to_string)
- .collect()
- },
+ |query| query.split(' ').map(ToString::to_string).collect(),
)
});
@@ -302,7 +297,6 @@ impl Cmd {
// This is supposed to more-or-less mirror the command line version, so ofc
// it is going to have a lot of args
-#[expect(clippy::too_many_arguments, clippy::cast_possible_truncation)]
async fn run_non_interactive(
settings: &Settings,
filter_options: OptFilters,