Print a warning message to stderr. The message is formatted in yellow with a warning prefix. # Arguments `message` - The message to print # Example ```rust,ignore print_warning("File will be overwritten"); // Output: ⚠ File will be overwritten ```
(message: &str)
| 119 | /// // Output: ⚠ File will be overwritten |
| 120 | /// ``` |
| 121 | pub fn print_warning(message: &str) { |
| 122 | eprintln!("{} {}", warning("⚠"), warning(message)); |
| 123 | } |
| 124 | |
| 125 | /// Print an informational message to stdout. |
| 126 | /// |
no outgoing calls