Function rustfmt_nightly::comment::rewrite_missing_comment

source ·
pub(crate) fn rewrite_missing_comment(
    span: Span,
    shape: Shape,
    context: &RewriteContext<'_>
) -> Option<String>
Expand description

Given the span, rewrite the missing comment inside it if available. Note that the given span must only include comments (or leading/trailing whitespaces).