From 25671c284ff8cecd1dd7e3a2a674e1ae92b3211d Mon Sep 17 00:00:00 2001 From: edef Date: Sat, 19 Oct 2024 13:33:23 +0000 Subject: [PATCH] refactor(users/edef/weave): simplify DoubleEndedIterator bound Thanks, Clippy! Change-Id: I116b478124b72e070e94150ee850532752f64d60 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12669 Reviewed-by: flokli Tested-by: BuildkiteCI --- users/edef/weave/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/edef/weave/src/lib.rs b/users/edef/weave/src/lib.rs index bc2221bf5..8d365a4c4 100644 --- a/users/edef/weave/src/lib.rs +++ b/users/edef/weave/src/lib.rs @@ -47,7 +47,7 @@ pub fn load_ph_array() -> Result> { /// Iterator over `&[[u8; N]]` from a dense [BinaryChunked]. pub fn as_fixed_binary( chunked: &BinaryChunked, -) -> impl Iterator + DoubleEndedIterator { +) -> impl DoubleEndedIterator { chunked.downcast_iter().map(|array| { let range = assert_fixed_dense::(array); exact_chunks(&array.values()[range]).unwrap()