Skip to main content

text

Function text 

Source
pub fn text(s: &str, on: bool) -> Cow<'_, str>
Expand description

Escaped for a diagnostic string bound for stderr, which carries paths and member names and is a terminal just as often as stdout.