[][src]Module rustc_ap_rustc_ast::util::comments

Structs

Comment

Enums

CommentStyle

Functions

beautify_doc_string

Makes a doc string more presentable to users. Used by rustdoc and perhaps other tools, but not by rustc.

block_doc_comment_style

For a full block comment string returns its doc comment style if it's a doc comment and returns None if it's a regular comment.

gather_comments
line_doc_comment_style

For a full line comment string returns its doc comment style if it's a doc comment and returns None if it's a regular comment.