rustfmt_
nightly
1.84.0-beta.4
(202008a1b 2024-12-07)
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.