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
|
||||
/// ```
|
||||
/// # use iced_native::renderer::Null;
|
||||
/// #
|
||||
/// # pub type ProgressBar = iced_native::ProgressBar<Null>;
|
||||
/// use iced_web::ProgressBar;
|
||||
///
|
||||
/// let value = 50.0;
|
||||
///
|
||||
/// ProgressBar::new(0.0..=100.0, value);
|
||||
/// ```
|
||||
///
|
||||
/// 
|
||||
/// 
|
||||
#[allow(missing_debug_implementations)]
|
||||
pub struct ProgressBar {
|
||||
range: RangeInclusive<f32>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue