pub fn apply_offset(range: &mut Range, offset: usize) {
    range.start = range.start.saturating_add(offset);
    range.end = range.end.saturating_add(offset);
}
Apply an offset to `start` and `end` members, equaling a shift of the range.
doc-chunks/src/lib.rs