aboutsummaryrefslogtreecommitdiffstats
path: root/crates/turtle/src/atuin_history
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-06-13 00:58:32 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-06-13 00:58:32 +0200
commit9352a0f7cfdd5f5fc102a25d8a93218bc3dbe462 (patch)
treeb998430c307c10defb79d91abe5d30471c5c4f12 /crates/turtle/src/atuin_history
parentchore(treewide): Remove `cargo` warnings to 0 (diff)
downloadatuin-9352a0f7cfdd5f5fc102a25d8a93218bc3dbe462.zip
chore(treewide): Fix some of `clippy`'s error
Just a run of `cargo clippy --fix`
Diffstat (limited to 'crates/turtle/src/atuin_history')
-rw-r--r--crates/turtle/src/atuin_history/stats.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/turtle/src/atuin_history/stats.rs b/crates/turtle/src/atuin_history/stats.rs
index a19d2d0e..c53dafb2 100644
--- a/crates/turtle/src/atuin_history/stats.rs
+++ b/crates/turtle/src/atuin_history/stats.rs
@@ -271,7 +271,7 @@ pub(crate) fn compute(
total_commands: total_unignored,
top: top
.into_iter()
- .map(|t| (t.0.into_iter().map(|s| s.to_string()).collect(), t.1))
+ .map(|t| (t.0.into_iter().map(ToString::to_string).collect(), t.1))
.collect(),
})
}