diff options
Diffstat (limited to 'pure/src/helpers.rs')
| -rw-r--r-- | pure/src/helpers.rs | 10 | 
1 files changed, 8 insertions, 2 deletions
| diff --git a/pure/src/helpers.rs b/pure/src/helpers.rs index 2ddab3ae..d6744262 100644 --- a/pure/src/helpers.rs +++ b/pure/src/helpers.rs @@ -142,11 +142,15 @@ pub fn vertical_space(height: Length) -> widget::Space {  }  /// Creates a horizontal [`Rule`] with the given height. +/// +/// [`Rule`]: widget::Rule  pub fn horizontal_rule<'a>(height: u16) -> widget::Rule<'a> {      widget::Rule::horizontal(height)  }  /// Creates a vertical [`Rule`] with the given width. +/// +/// [`Rule`]: widget::Rule  pub fn vertical_rule<'a>(width: u16) -> widget::Rule<'a> {      widget::Rule::horizontal(width)  } @@ -154,8 +158,10 @@ pub fn vertical_rule<'a>(width: u16) -> widget::Rule<'a> {  /// Creates a new [`ProgressBar`].  ///  /// It expects: -///   * an inclusive range of possible values -///   * the current value of the [`ProgressBar`] +///   * an inclusive range of possible values, and +///   * the current value of the [`ProgressBar`]. +/// +/// [`ProgressBar`]: widget::ProgressBar  pub fn progress_bar<'a>(      range: RangeInclusive<f32>,      value: f32, | 
