Module doc_chunks::span

source ·
Expand description

Span annotation, independent yet compatible with proc_macro2::Span

Re-uses LineColumn, where .line is 1-indexed, and .columns are 0-indexed, .end is inclusive.

Structs§

  • A line-column pair representing the start or end of a Span.
  • Relative span in relation to the beginning of a doc comment.