[][src]Function indexed_bitvec_core::index_raw::check_index_size

pub fn check_index_size(
    index: &[u64],
    bits: BitsRef
) -> Result<(), IndexSizeError>

Check an index is the right size for a given bitvector.

This does not in any way guarantee the index was built for that bitvector, or that neither has been modified.