rustc_ast::util::comments

Function beautify_doc_string

Source
pub fn beautify_doc_string(data: Symbol, kind: CommentKind) -> Symbol
Expand description

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