(colors: bool, s: &str, f: F)
| 313 | } |
| 314 | |
| 315 | fn maybe_color<F: Fn(&str) -> String>(colors: bool, s: &str, f: F) -> String { |
| 316 | if colors { f(s) } else { s.to_string() } |
| 317 | } |
| 318 | |
| 319 | fn hint_no_input(sheet: &str, config: &GlobalConfig) { |
| 320 | let colors = config.colors(); |
no outgoing calls
no test coverage detected