We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 452ad6e commit b228e46Copy full SHA for b228e46
src/info/mod.rs
@@ -235,10 +235,10 @@ impl Info {
235
info: &str,
236
f: &mut std::fmt::Formatter,
237
) -> std::fmt::Result {
238
- writeln!(f, "{} {}", &self.get_styled_subtitle_label(subtitle), info)
+ writeln!(f, "{} {}", &self.style_subtitle(subtitle), info)
239
}
240
241
- fn get_styled_subtitle_label(&self, subtitle: &str) -> String {
+ fn style_subtitle(&self, subtitle: &str) -> String {
242
let subtitle_style = self.style(self.text_colors.subtitle);
243
let colon_style = self.style(self.text_colors.colon);
244
format!(
0 commit comments