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)
| 139 | /// // Output: ⚠ File will be overwritten |
| 140 | /// ``` |
| 141 | pub fn print_warning(message: &str) { |
| 142 | eprintln!("{} {}", warning("⚠"), warning(message)); |
| 143 | } |
| 144 | |
| 145 | /// Print an informational message to stdout. |
| 146 | /// |
no outgoing calls