Annotate root crate tests with standalone_crate

The new Rustdoc combined tests are an order of
magnitude slower in my machine for the `iced` root
crate.
This commit is contained in:
Héctor Ramón Jiménez 2025-04-03 20:27:17 +02:00
parent 53ce0e3a88
commit 33d20763c8
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
2 changed files with 18 additions and 18 deletions

View file

@ -1,7 +1,7 @@
//! Create and run iced applications step by step.
//!
//! # Example
//! ```no_run
//! ```no_run,standalone_crate
//! use iced::widget::{button, column, text, Column};
//! use iced::Theme;
//!
@ -42,7 +42,7 @@ use std::borrow::Cow;
/// Creates an iced [`Application`] given its title, update, and view logic.
///
/// # Example
/// ```no_run
/// ```no_run,standalone_crate
/// use iced::widget::{button, column, text, Column};
///
/// pub fn main() -> iced::Result {