# Function rustfmt_nightly::comment::recover_missing_comment_in_span

source ·

    pub(crate) fn recover_missing_comment_in_span(
        span: Span,
        shape: Shape,
        context: &RewriteContext<'_>,
        used_width: usize
    ) -> Option<String>

Expand description

Recover the missing comments in the specified span, if available. The layout of the comments will be preserved as long as it does not break the code and its total width does not exceed the max width.