rustfmt_
nightly
1.83.0-beta.3
(f41c7ed98 2024-10-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.