diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib.rs | 4 | ||||
-rw-r--r-- | src/time.rs | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -365,9 +365,9 @@ //! //! As with tasks, some modules expose convenient functions that build a [`Subscription`] for you—like //! [`time::every`] which can be used to listen to time, or [`keyboard::on_key_press`] which will notify you -//! of any key presses. But you can also create your own with [`Subscription::run`] and [`run_with_id`]. +//! of any key presses. But you can also create your own with [`Subscription::run`] and [`run_with`]. //! -//! [`run_with_id`]: Subscription::run_with_id +//! [`run_with`]: Subscription::run_with //! //! ## Scaling Applications //! The `update`, `view`, and `Message` triplet composes very nicely. diff --git a/src/time.rs b/src/time.rs index 26d31c0a..98a800ac 100644 --- a/src/time.rs +++ b/src/time.rs @@ -1,5 +1,5 @@ //! Listen and react to time. -pub use crate::core::time::{Duration, Instant}; +pub use crate::core::time::*; #[allow(unused_imports)] #[cfg_attr( |