Fix vertical rule helper

This commit is contained in:
Cory Forsstrom 2022-05-04 11:52:19 -07:00
parent 02914e5e68
commit 0abb82033e

View file

@ -202,7 +202,7 @@ pub fn horizontal_rule<'a>(height: u16) -> widget::Rule<'a> {
///
/// [`Rule`]: widget::Rule
pub fn vertical_rule<'a>(width: u16) -> widget::Rule<'a> {
widget::Rule::horizontal(width)
widget::Rule::vertical(width)
}
/// Creates a new [`ProgressBar`].