Skip to content

Commit

Permalink
Fix docs for last function
Browse files Browse the repository at this point in the history
  • Loading branch information
anishsinha-io committed Jan 9, 2025
1 parent 41f9828 commit 33ffd20
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/views/checkbox.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,7 @@ pub fn labeled_checkbox<S: Display + 'static>(
Checkbox::labeled(checked, label)
}

/// Renders a checkbox using the provided checked signal and a custom check. See also [`Checkbox::custom_labeled_rw`]
/// and [`Checkbox::custom_labeled`].
/// Renders a checkbox using the a `checked` signal and a custom SVG. See also [`Checkbox::custom_labeled_rw`]
pub fn custom_labeled_checkbox<S: Display + 'static>(
checked: impl Fn() -> bool + 'static,
label: impl Fn() -> S + 'static,
Expand Down

0 comments on commit 33ffd20

Please sign in to comment.