Fix ProgressBar doc example in iced_web
This commit is contained in:
parent
cf3ca44210
commit
07e62ae5da
1 changed files with 3 additions and 4 deletions
|
|
@ -9,15 +9,14 @@ use std::ops::RangeInclusive;
|
||||||
///
|
///
|
||||||
/// # Example
|
/// # Example
|
||||||
/// ```
|
/// ```
|
||||||
/// # use iced_native::renderer::Null;
|
/// use iced_web::ProgressBar;
|
||||||
/// #
|
///
|
||||||
/// # pub type ProgressBar = iced_native::ProgressBar<Null>;
|
|
||||||
/// let value = 50.0;
|
/// let value = 50.0;
|
||||||
///
|
///
|
||||||
/// ProgressBar::new(0.0..=100.0, value);
|
/// ProgressBar::new(0.0..=100.0, value);
|
||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
/// 
|
/// 
|
||||||
#[allow(missing_debug_implementations)]
|
#[allow(missing_debug_implementations)]
|
||||||
pub struct ProgressBar {
|
pub struct ProgressBar {
|
||||||
range: RangeInclusive<f32>,
|
range: RangeInclusive<f32>,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue