pub fn span_contains_comment(cx: &impl HasSession, span: Span) -> boolExpand description
Checks whether a given span has any comment token This checks for all types of comment: line “//”, block “/**”, doc “///” “//!”
pub fn span_contains_comment(cx: &impl HasSession, span: Span) -> boolChecks whether a given span has any comment token This checks for all types of comment: line “//”, block “/**”, doc “///” “//!”