diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-06-13 00:58:32 +0200 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-06-13 00:58:32 +0200 |
| commit | 9352a0f7cfdd5f5fc102a25d8a93218bc3dbe462 (patch) | |
| tree | b998430c307c10defb79d91abe5d30471c5c4f12 /crates/turtle/src/atuin_history/stats.rs | |
| parent | chore(treewide): Remove `cargo` warnings to 0 (diff) | |
| download | atuin-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/stats.rs')
| -rw-r--r-- | crates/turtle/src/atuin_history/stats.rs | 2 |
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(), }) } |
