From eacc4cca8cfdec33e5e3dadf3645350448d49933 Mon Sep 17 00:00:00 2001 From: Shiney Date: Sun, 21 Jun 2020 19:14:42 +0100 Subject: [PATCH] Simple typo fix: Change "intarval" to "interval" --- yew/src/services/interval.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yew/src/services/interval.rs b/yew/src/services/interval.rs index b7aafcf56f9..0bc0afddd36 100644 --- a/yew/src/services/interval.rs +++ b/yew/src/services/interval.rs @@ -42,7 +42,7 @@ impl IntervalService { } /// Sets interval which will call send a messages returned by a converter - /// on every intarval expiration. + /// on every interval expiration. pub fn spawn(&mut self, duration: Duration, callback: Callback<()>) -> IntervalTask { let callback = move || { callback.emit(());