Skip to content

Commit

Permalink
Fixed docs to pass tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MichelleGranat committed Oct 7, 2024
1 parent 8c4cc0b commit fb243f3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions widget/src/button.rs
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,9 @@ impl Default for Style {
///
/// # Example
/// ```no_run
/// # use iced_widget::core::{Color, Background};
/// # use iced_widget::button::{Catalog, Status, Style};
/// # struct MyTheme;
/// #[derive(Debug, Default)]
/// pub enum ButtonClass {
/// #[default]
Expand Down

0 comments on commit fb243f3

Please sign in to comment.