Format a hint/suggestion message in dim style. Use this for supplementary information, suggestions, or less important details. # Arguments `text` - The text to format # Returns A styled object that displays in dim when printed. # Example ```rust,ignore println!("{}", colors::hint("Tip: Use --help for more options")); ```
(text: D)
| 251 | /// println!("{}", colors::hint("Tip: Use --help for more options")); |
| 252 | /// ``` |
| 253 | pub fn hint<D: std::fmt::Display>(text: D) -> StyledObject<D> { |
| 254 | style(text).dim() |
| 255 | } |
| 256 | |
| 257 | // File Status Colors |
| 258 |
no outgoing calls