Skip to main content

println_success

Macro println_success 

Source
macro_rules! println_success {
    ($($arg:tt)*) => { ... };
}
Expand description

Prints a success message with green background and white text.

Supports format string syntax like the format! macro:

  • println_success!(body) - Simple string with no arguments
  • println_success!(body, name) - Positional arguments replaced by {}
  • println_success!(body, name = value) - Named arguments replaced by {name} (Rust 1.58+)