Function clippy_utils::span_contains_comment
source · Expand description
Checks whether a given span has any comment token This checks for all types of comment: line “//”, block “/**”, doc “///” “//!”
Checks whether a given span has any comment token This checks for all types of comment: line “//”, block “/**”, doc “///” “//!”