Function rustfmt_nightly::items::get_missing_param_comments
source · fn get_missing_param_comments(
context: &RewriteContext<'_>,
pat_span: Span,
ty_span: Span,
shape: Shape,
) -> (String, String)
Expand description
Recover any missing comments between the param and the type.
§Returns
A 2-len tuple with the comment before the colon in first position, and the comment after the colon in second position.