Skip to main content

warning_label

Function warning_label 

Source
pub fn warning_label(kind: &str) -> String
Expand description

A bracketed stderr label such as [config warning], yellow when color output is enabled. Goes through colored so --color, NO_COLOR and CLICOLOR_FORCE apply to it like to every other colored output.