diff options
| author | 2024-01-08 16:00:17 +0100 | |
|---|---|---|
| committer | 2024-02-06 00:39:47 +0100 | |
| commit | 1cd22bb6a20a2235b57fba81757eb7de684d3a00 (patch) | |
| tree | bc32d4dc534ae968ee6dab770f44e7fd016e2790 /src | |
| parent | cb2c8dd86e1f2f0c1eec10d52ee717db6e6f34c2 (diff) | |
| download | iced-1cd22bb6a20a2235b57fba81757eb7de684d3a00.tar.gz iced-1cd22bb6a20a2235b57fba81757eb7de684d3a00.tar.bz2 iced-1cd22bb6a20a2235b57fba81757eb7de684d3a00.zip | |
Fix missing feature flag docs for `time::every`
Diffstat (limited to '')
| -rw-r--r-- | src/lib.rs | 1 | ||||
| -rw-r--r-- | src/time.rs | 9 | 
2 files changed, 10 insertions, 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; diff --git a/src/time.rs b/src/time.rs index f10f7a5e..e255d751 100644 --- a/src/time.rs +++ b/src/time.rs @@ -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::*; | 
