chore: ignore doc tests for widget module

This commit is contained in:
Michael Aaron Murphy 2024-05-21 04:36:32 +02:00
parent f9f8eb51cb
commit 752662eedf
No known key found for this signature in database
GPG key ID: B2732D4240C9212C

View file

@ -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);