From 3a07c631add426a308607055d1b46d934f21e7f6 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Fri, 24 Jan 2025 16:38:56 +0100 Subject: Implement `time::repeat` and simplify `Subscription::run_with` --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 427e789c..939943a9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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. -- cgit