rustfmt_
nightly
1.86.0
(05f9846f8 2025-03-31)
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.