Skip to main content

append_detail_and_hints

Function append_detail_and_hints 

Source
fn append_detail_and_hints(
    message: &mut String,
    detail: Option<&str>,
    footers: &[String],
)
Expand description

Append \ndetail: <detail> (when present) and one \nhint: <footer> line per footer to message. Preserves the human-readable advice for editors that don’t render code actions.