aboutsummaryrefslogtreecommitdiffstats
path: root/crates/atuin-history/src
diff options
context:
space:
mode:
authorEllie Huxtable <ellie@atuin.sh>2025-07-22 16:03:20 +0200
committerGitHub <noreply@github.com>2025-07-22 16:03:20 +0200
commite7819d258a29eeec0e9255a961fee3b44735afab (patch)
treee76946f1906d29e999485f3b2bd424fc7375037f /crates/atuin-history/src
parentUpdate indicatif to 0.18.0 (#2833) (diff)
downloadatuin-e7819d258a29eeec0e9255a961fee3b44735afab.zip
chore: update to rust 1.88 (#2815)
* chore: update to rust 1.88 * clippy + fmt * update ci version * update flake
Diffstat (limited to 'crates/atuin-history/src')
-rw-r--r--crates/atuin-history/src/stats.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/atuin-history/src/stats.rs b/crates/atuin-history/src/stats.rs
index 5e8d59da..8bf03e42 100644
--- a/crates/atuin-history/src/stats.rs
+++ b/crates/atuin-history/src/stats.rs
@@ -324,7 +324,7 @@ mod tests {
.into();
let stats = compute(&settings, &[history], 10, 1).expect("failed to compute stats");
- assert_eq!(stats.top.get(0).unwrap().0, vec!["echo"]);
+ assert_eq!(stats.top.first().unwrap().0, vec!["echo"]);
}
#[test]