From 9352a0f7cfdd5f5fc102a25d8a93218bc3dbe462 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 13 Jun 2026 00:58:32 +0200 Subject: chore(treewide): Fix some of `clippy`'s error Just a run of `cargo clippy --fix` --- crates/turtle/src/atuin_history/stats.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/turtle/src/atuin_history/stats.rs') 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(), }) } -- cgit v1.3.1