Merge pull request #1332 from tarkah/fix/rule-helper
Fix vertical rule helper
This commit is contained in:
commit
161c792325
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
|
/// [`Rule`]: widget::Rule
|
||||||
pub fn vertical_rule<'a>(width: u16) -> widget::Rule<'a> {
|
pub fn vertical_rule<'a>(width: u16) -> widget::Rule<'a> {
|
||||||
widget::Rule::horizontal(width)
|
widget::Rule::vertical(width)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Creates a new [`ProgressBar`].
|
/// Creates a new [`ProgressBar`].
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue