foundry_compilers::utils

Function range_by_offset

source
pub fn range_by_offset(range: &Range<usize>, offset: isize) -> Range<usize>
Expand description

Move a range by a specified offset