style: fmt

This commit is contained in:
Florian Dehau 2018-09-23 21:00:36 +02:00
parent aa85e597d9
commit d8e5f57d53
3 changed files with 3 additions and 5 deletions

View file

@ -155,7 +155,7 @@ impl<'a> Widget for BarChart<'a> {
chart_area.left() + i as u16 * (self.bar_width + self.bar_gap) + x,
chart_area.top() + j,
).set_symbol(symbol)
.set_style(self.style);
.set_style(self.style);
}
if d.1 > 8 {

View file

@ -456,8 +456,7 @@ where
coords: dataset.data,
color: dataset.style.fg,
});
})
.draw(graph_area, buf);
}).draw(graph_area, buf);
}
}
}

View file

@ -236,8 +236,7 @@ impl<'b> Widget for SelectableList<'b> {
} else {
Text::styled(item, self.style)
}
})
.skip(offset as usize);
}).skip(offset as usize);
List::new(items)
.block(self.block.unwrap_or_default())
.style(self.style)