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(());