Skip to content

Commit

Permalink
Simple typo fix: Change "intarval" to "interval" (yewstack#1342)
Browse files Browse the repository at this point in the history
Co-authored-by: Justin Starry <justin.starry@icloud.com>
  • Loading branch information
Shiney and jstarry authored Jun 22, 2020
1 parent 9965744 commit 1586dc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yew/src/services/interval.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(());
Expand Down

0 comments on commit 1586dc8

Please sign in to comment.