Skip to content

Commit a55a582

Browse files
committed
Added elided lifetime
1 parent 167ccb5 commit a55a582

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

heos-tui/src/ui.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ const fn alternate_colors(i: usize) -> Color {
250250
}
251251
}
252252

253-
fn title_block(title: &str) -> Block {
253+
fn title_block(title: &str) -> Block<'_> {
254254
let title = Line::from(title).centered();
255255

256256
Block::default()

0 commit comments

Comments
 (0)