pub fn pick_renderer<'a>( choices: impl IntoIterator<Item = Option<&'a str>>, default: &str, ) -> String
The first non-blank of choices (an env var, a config value, …), trimmed, else default.
choices
default