rustfmt_
nightly
1.83.0-beta.6
(4ff8ff0ec 2024-11-16)
In rustfmt_
nightly::
comment
rustfmt_nightly
::
comment
Function
contains_comment
Copy item path
source
pub(crate) fn contains_comment(text: &
str
) ->
bool
Expand description
Returns
true
if text contains any comment.