pub fn validate_source_span(span: &SourceSpan) -> Result<()>Expand description
v0.7.0 Form 4 (issue #757) — validate a SourceSpan byte-range.
Requires start < end and bounds both values within
usize::MAX. The half-open convention [start, end) matches
Rust slice semantics — body[span.start..span.end] is the cited
slice.
§Errors
Returns when start >= end.