Checkbox: Fix tests with sync'ed helper macro and associated fn
This commit is contained in:
parent
d8536e6248
commit
2209dbf212
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ pub use iced_style::checkbox::{Appearance, StyleSheet};
|
|||
///
|
||||
/// let is_checked = true;
|
||||
///
|
||||
/// Checkbox::new(is_checked, "Toggle me!", Message::CheckboxToggled);
|
||||
/// Checkbox::new("Toggle me!", is_checked, Message::CheckboxToggled);
|
||||
/// ```
|
||||
///
|
||||
/// 
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue