Skip to content

Commit b228e46

Browse files
committed
rename function
1 parent 452ad6e commit b228e46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/info/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -235,10 +235,10 @@ impl Info {
235235
info: &str,
236236
f: &mut std::fmt::Formatter,
237237
) -> std::fmt::Result {
238-
writeln!(f, "{} {}", &self.get_styled_subtitle_label(subtitle), info)
238+
writeln!(f, "{} {}", &self.style_subtitle(subtitle), info)
239239
}
240240

241-
fn get_styled_subtitle_label(&self, subtitle: &str) -> String {
241+
fn style_subtitle(&self, subtitle: &str) -> String {
242242
let subtitle_style = self.style(self.text_colors.subtitle);
243243
let colon_style = self.style(self.text_colors.colon);
244244
format!(

0 commit comments

Comments
 (0)