From 176c30901a58c19f7e557303169de20c630347fd Mon Sep 17 00:00:00 2001 From: Michael Aaron Murphy Date: Wed, 4 Jan 2023 01:26:33 +0100 Subject: [PATCH] chore: ignore doc tests for segmented button examples --- src/widget/segmented_button/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/widget/segmented_button/mod.rs b/src/widget/segmented_button/mod.rs index 94d52e5..77211ef 100644 --- a/src/widget/segmented_button/mod.rs +++ b/src/widget/segmented_button/mod.rs @@ -7,7 +7,7 @@ //! //! Add the state and a message variant in your application for handling selections. //! -//! ```no_run +//! ```ignore //! use iced_core::Length; //! use cosmic::theme; //! use cosmic::widget::segmented_button; @@ -25,7 +25,7 @@ //! //! Then add choices to the state, while activating the first. //! -//! ```no_run +//! ```ignore //! let first_key = application.state.insert("Choice A", 0); //! application.state.insert("Choice B", 1); //! application.state.insert("Choice C", 2); @@ -34,7 +34,7 @@ //! //! Then use it in the view method to create segmented button widgets. //! -//! ```no_run +//! ```ignore //! let widget = segmentend_button(&application.state) //! .style(theme::SegmentedButton::Selection) //! .height(Length::Units(32))