pub fn desugar_doc_comment_text(
text: &str,
mode: DocCommentDesugarMode,
) -> (Symbol, LitKind)
Expand description
Returns the textual content of a doc comment block as a quoted string
That is, strips leading ///
(or /**
, etc)
and strips the ending */
And then quote the string, which is needed to convert to tt::Literal
Note that proc-macros desugar with string literals where as macro_rules macros desugar with raw string literals.