From 209c5b06fa53e03f760f0d957a41ff04ed5c3d78 Mon Sep 17 00:00:00 2001 From: Fraser Hutchison <190532+Fraser999@users.noreply.github.com> Date: Mon, 4 May 2026 15:38:05 +0100 Subject: [PATCH] remove some third-party types from public API --- crates/types/src/int_list.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/types/src/int_list.rs b/crates/types/src/int_list.rs index e931538..dde46bc 100644 --- a/crates/types/src/int_list.rs +++ b/crates/types/src/int_list.rs @@ -116,8 +116,8 @@ impl IntegerList { .map_err(|_| IntegerListError::FailedToDeserialize) } - /// Returns an iterator over the integers in the list. - pub fn iter(&self) -> roaring::treemap::Iter<'_> { + /// Returns an iterator over the integers in the list, in ascending order. + pub fn iter(&self) -> impl Iterator + Clone + '_ { self.0.iter() }