Fix missing feature flag docs for time::every
This commit is contained in:
parent
cb2c8dd86e
commit
1cd22bb6a2
2 changed files with 10 additions and 0 deletions
|
|
@ -159,6 +159,7 @@
|
|||
rustdoc::broken_intra_doc_links
|
||||
)]
|
||||
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
|
||||
#![cfg_attr(docsrs, feature(doc_cfg))]
|
||||
use iced_widget::graphics;
|
||||
use iced_widget::renderer;
|
||||
use iced_widget::style;
|
||||
|
|
|
|||
|
|
@ -2,4 +2,13 @@
|
|||
pub use iced_core::time::{Duration, Instant};
|
||||
|
||||
#[allow(unused_imports)]
|
||||
#[cfg_attr(
|
||||
docsrs,
|
||||
doc(cfg(any(
|
||||
feature = "tokio",
|
||||
feature = "async-std",
|
||||
feature = "smol",
|
||||
target_arch = "wasm32"
|
||||
)))
|
||||
)]
|
||||
pub use iced_futures::backend::default::time::*;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue