Skip to main content

message

Function message 

Source
pub fn message(text: &str) -> String
Expand description

A message for stderr (bynk: warning: …), with its error:, warning: or note: label red, amber or blue: the first such label on each line, whether it opens the line (after any indent or = ) or follows the bynk …: or <program> …: that names who is speaking. Nothing else changes, so a line with no label is returned as it is.