☰
rustc_ast
1.75.0-dev
In rustc_ast::util::comments
Structs
Comment
Enums
CommentStyle
Functions
all_whitespace
beautify_doc_string
gather_comments
may_have_doc_links
split_block_comment_into_lines
trim_whitespace_prefix
?
Function
rustc_ast
::
util
::
comments
::
gather_comments
source
·
[
−
]
pub fn gather_comments( sm: &
SourceMap
, path:
FileName
, src:
String
) ->
Vec
<
Comment
>