pub fn adjust(self, diff: ByteIndex) -> Self {
        Self {
            start: self.start.saturating_add(diff),
            end: self.end.saturating_add(diff),
        }
    }
/// Adjust the span with the given positive offset.
Adjust the span with the given positive offset.
Adjust the span with the given positive offset .
pub fn adjust(self, diff: ByteIndex) -> Self {
        Self {
            start: self.start.saturating_add(diff),
            end: self.end.saturating_add(diff),
        }
    }
pub fn adjust ( self , diff : ByteIndex ) -> Self { Self { start : self . start . saturating_add ( diff ) , end : self . end . saturating_add ( diff ) , } }
Adjust the span with the given positive offset.
Adjust the span with the given positive offset .
self
diff
ByteIndex
self
diff
ByteIndex