Function doc_chunks::util::load_span_from
source · pub fn load_span_from<R>(source: R, span: Span) -> Result<String>where
R: Read,
Expand description
Extract span
from a Read
-able source as String
.
Errors
Returns an Error if span
describes a impossible range.