This commit is contained in:
jk 2024-12-28 13:23:38 +01:00
parent 75fadb3aff
commit 88293898f6
No known key found for this signature in database

View File

@ -125,7 +125,7 @@ impl<'a> Digit<'a> {
}
}
impl<'a> Widget for Digit<'a> {
impl Widget for Digit<'_> {
fn render(self, area: Rect, buf: &mut Buffer) {
let left = area.left();
let top = area.top();
@ -183,7 +183,7 @@ impl<'a> Dot<'a> {
}
}
impl<'a> Widget for Dot<'a> {
impl Widget for Dot<'_> {
fn render(self, area: Rect, buf: &mut Buffer) {
let positions = [
Position {
@ -214,7 +214,7 @@ impl<'a> Colon<'a> {
}
}
impl<'a> Widget for Colon<'a> {
impl Widget for Colon<'_> {
fn render(self, area: Rect, buf: &mut Buffer) {
let left = area.left();
let top = area.top();