fedimint_client::transaction::builder

Function find_range_of_matching_items

Source
fn find_range_of_matching_items(
    arr: &[usize],
    item: usize,
) -> Option<RangeInclusive<u64>>
Expand description

Find the range of indexes in an monotonically increasing arr, that is equal to item