From 1e89314363fef473e0b691e740167472369fdd16 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Tue, 1 Oct 2024 00:03:26 +0700 Subject: [PATCH] Update `itertools` from 0.7 to 0.13 --- Cargo.toml | 2 +- tests/import.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 0c23ce087..07c912199 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,7 +36,7 @@ bincode = "1.3.1" indexmap = "2.1" rand="0.4" byteorder="1" -itertools="^0.7" +itertools="^0.13" serde_json = "1.0" graph_map = "0.1" diff --git a/tests/import.rs b/tests/import.rs index 1a15d3d7a..5fd931837 100644 --- a/tests/import.rs +++ b/tests/import.rs @@ -28,7 +28,7 @@ fn run_test(test: T, expected: Vec<(usize, Vec<((u64, i64), i64)>)>) -> () let out = results .into_iter() - .group_by(|&(_, t, _)| t) + .chunk_by(|&(_, t, _)| t) .into_iter() .map(|(t, vals)| { let mut vec = vals.map(|(v, _, w)| (v, w)).collect::>();