From e7819d258a29eeec0e9255a961fee3b44735afab Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Tue, 22 Jul 2025 16:03:20 +0200 Subject: chore: update to rust 1.88 (#2815) * chore: update to rust 1.88 * clippy + fmt * update ci version * update flake --- crates/atuin-history/src/stats.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/atuin-history/src') 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] -- cgit v1.3.1