pub fn doc_block_body_range(source: &str, span: Span) -> Option<Range<usize>>Expand description
The doc-block body as a byte range into source — leading/trailing ---
marker lines stripped, no further processing (unlike doc_block_content,
which additionally strips a common per-line indent — not offset-preserving).
Callers that need to map a position in the body back to source (e.g.
document-link spans) use this instead of re-deriving it from the string
doc_block_content returns.