Fix vertical rule helper
This commit is contained in:
parent
02914e5e68
commit
0abb82033e
1 changed files with 1 additions and 1 deletions
|
|
@ -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`].
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue