pub fn span_extract_comment<'sm>(
sm: impl HasSourceMap<'sm>,
span: Span,
) -> StringExpand description
Returns all the comments a given span contains
Comments are returned wrapped with their relevant delimiters
pub fn span_extract_comment<'sm>(
sm: impl HasSourceMap<'sm>,
span: Span,
) -> StringReturns all the comments a given span contains
Comments are returned wrapped with their relevant delimiters