Merge pull request #1332 from tarkah/fix/rule-helper

Fix vertical rule helper
This commit is contained in:
Héctor Ramón 2022-05-05 00:57:55 +02:00 committed by GitHub
commit 161c792325
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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`].