Function rslint_parser::util::color[][src]

pub fn color(source: &str) -> String
Expand description

Colors a piece of source code using ANSI.
The string returned will be unaltered if stdout and stderr are not terminals.