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.