Skip to main content

strip_ansi

Function strip_ansi 

Source
pub fn strip_ansi(s: &str) -> String
Expand description

Removes ANSI escape sequences (colors/bold) from an error message so that structured diagnostics carry plain text.