From 8f7ef55e617944539270669e39170d26afe5b06d Mon Sep 17 00:00:00 2001 From: Jacob Finkelman Date: Tue, 28 Nov 2023 13:10:40 -0500 Subject: [PATCH] Fix broken links Co-authored-by: konsti --- src/range.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/range.rs b/src/range.rs index 60bacd61..2a9ddd01 100644 --- a/src/range.rs +++ b/src/range.rs @@ -319,10 +319,12 @@ fn valid_segment(start: &Bound, end: &Bound) -> bool { } /// group adjacent versions locations +/// ```text /// [None, 3, 6, 7, None] -> [(3, 7)] /// [3, 6, 7, None] -> [(None, 7)] /// [3, 6, 7] -> [(None, None)] /// [None, 1, 4, 7, None, None, None, 8, None, 9] -> [(1, 7), (8, 8), (9, None)] +/// ``` fn group_adjacent_locations( mut locations: impl Iterator>, ) -> impl Iterator, Option)> {