Use no_run for widget doc-tests
This commit is contained in:
parent
f4cf488e0b
commit
cfb8abb6f5
11 changed files with 10 additions and 19 deletions
|
|
@ -18,7 +18,7 @@ pub use iced_style::button::{Appearance, StyleSheet};
|
|||
|
||||
/// A generic widget that produces a message when pressed.
|
||||
///
|
||||
/// ```
|
||||
/// ```no_run
|
||||
/// # type Button<'a, Message> =
|
||||
/// # iced_widget::Button<'a, Message, iced_widget::renderer::Renderer<iced_widget::style::Theme>>;
|
||||
/// #
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue