summaryrefslogtreecommitdiffstats
path: root/wgpu/src/widget
diff options
context:
space:
mode:
authorLibravatar ethanpailes <ethanpailes@gmail.com>2020-04-18 15:12:44 -0400
committerLibravatar GitHub <noreply@github.com>2020-04-18 21:12:44 +0200
commit90c3a183d5e79aee1f323991c8c45161ccf9e187 (patch)
tree03478612b0a541cc3aef65605c88d6a03b2e6d1b /wgpu/src/widget
parentae546a5b9d10c746ff1785d220397269ff847eee (diff)
downloadiced-90c3a183d5e79aee1f323991c8c45161ccf9e187.tar.gz
iced-90c3a183d5e79aee1f323991c8c45161ccf9e187.tar.bz2
iced-90c3a183d5e79aee1f323991c8c45161ccf9e187.zip
fix progress bar docs to no longer mention buttons (#301)
Diffstat (limited to 'wgpu/src/widget')
-rw-r--r--wgpu/src/widget/progress_bar.rs8
1 files changed, 4 insertions, 4 deletions
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};