From 90c3a183d5e79aee1f323991c8c45161ccf9e187 Mon Sep 17 00:00:00 2001 From: ethanpailes Date: Sat, 18 Apr 2020 15:12:44 -0400 Subject: fix progress bar docs to no longer mention buttons (#301) --- wgpu/src/widget/progress_bar.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'wgpu/src/widget') diff --git a/wgpu/src/widget/progress_bar.rs b/wgpu/src/widget/progress_bar.rs index 34450b5e..770bcea8 100644 --- a/wgpu/src/widget/progress_bar.rs +++ b/wgpu/src/widget/progress_bar.rs @@ -1,9 +1,9 @@ -//! Allow your users to perform actions by pressing a button. +//! Allow your users to visually track the progress of a computation. //! -//! A [`Button`] has some local [`State`]. +//! A [`ProgressBar`] has a range of possible values and a current value, +//! as well as a length, height and style. //! -//! [`Button`]: type.Button.html -//! [`State`]: struct.State.html +//! [`ProgressBar`]: type.ProgressBar.html use crate::Renderer; pub use iced_style::progress_bar::{Style, StyleSheet}; -- cgit