Simple typo fix: Change "intarval" to "interval" (#1342)

Co-authored-by: Justin Starry <justin.starry@icloud.com>
This commit is contained in:
Shiney 2020-06-22 08:33:47 +01:00 committed by GitHub
parent 996574437a
commit 1586dc8cf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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