Show checkbox doc example in multiple places
This commit is contained in:
parent
5d25562644
commit
51f7ce7324
4 changed files with 89 additions and 11 deletions
|
|
@ -1,5 +1,6 @@
|
|||
//! Buttons allow your users to perform actions by pressing them.
|
||||
//!
|
||||
//! # Example
|
||||
//! ```no_run
|
||||
//! # mod iced { pub mod widget { pub use iced_widget::*; } }
|
||||
//! # pub type State = ();
|
||||
|
|
@ -32,6 +33,7 @@ use crate::core::{
|
|||
|
||||
/// A generic widget that produces a message when pressed.
|
||||
///
|
||||
/// # Example
|
||||
/// ```no_run
|
||||
/// # mod iced { pub mod widget { pub use iced_widget::*; } }
|
||||
/// # pub type State = ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue