From 752662eedf584fc7f12da95ceabeaf7b36b57c75 Mon Sep 17 00:00:00 2001 From: Michael Aaron Murphy Date: Tue, 21 May 2024 04:36:32 +0200 Subject: [PATCH] chore: ignore doc tests for widget module --- src/widget/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/widget/mod.rs b/src/widget/mod.rs index e0745dce..280ef26b 100644 --- a/src/widget/mod.rs +++ b/src/widget/mod.rs @@ -12,7 +12,7 @@ //! Modules may contain additional functions for constructing different variations of a widget. //! Each module will typically have one widget with the same name as the module, which will be re-exported here. //! -//! ```no_run +//! ```no_run,ignore //! use cosmic::prelude::*; //! use cosmic::{cosmic_theme, theme, widget}; //! @@ -34,13 +34,13 @@ //! //! Widgets may borrow data from your application struct, and should do so to avoid allocating. //! -//! ```no_run +//! ```no_run,ignore //! let text = widget::text::body(&self.cached_text); //! ``` //! //! Use the [`cosmic::Apply`](crate::Apply) trait to embed widgets into other widgets which accept them. //! -//! ```no_run +//! ```no_run,ignore //! let button = widget::icon::from_name("printer-symbolic") //! .apply(widget::button::icon) //! .on_press(Message::Print);