☰
In rustfmt_nightly::comment
?
Function
rustfmt_nightly
::
comment
::
contains_comment
source
·
[
−
]
pub(crate) fn contains_comment(text: &
str
) ->
bool
Expand description
Returns
true
if text contains any comment.