From 1586dc8cf58325cc5edafbb00a2c785b905d2845 Mon Sep 17 00:00:00 2001 From: Shiney Date: Mon, 22 Jun 2020 08:33:47 +0100 Subject: [PATCH] Simple typo fix: Change "intarval" to "interval" (#1342) Co-authored-by: Justin Starry --- 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 2998f6fd057..3bba5f4c5e3 100644 --- a/yew/src/services/interval.rs +++ b/yew/src/services/interval.rs @@ -37,7 +37,7 @@ pub struct IntervalService {} 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(duration: Duration, callback: Callback<()>) -> IntervalTask { let callback = move || { callback.emit(());