diff --git a/src/redis.rs b/src/redis.rs index ac6efab81..8667cb816 100644 --- a/src/redis.rs +++ b/src/redis.rs @@ -69,7 +69,7 @@ impl Actor for RedisActor { Err(err) => { error!("Can not connect to redis server: {}", err); // re-connect with backoff time. - // we stop currect context, supervisor will restart it. + // we stop current context, supervisor will restart it. if let Some(timeout) = act.backoff.next_backoff() { ctx.run_later(timeout, |_, ctx| ctx.stop()); } else { @@ -80,7 +80,7 @@ impl Actor for RedisActor { .map_err(|err, act, ctx| { error!("Can not connect to redis server: {}", err); // re-connect with backoff time. - // we stop currect context, supervisor will restart it. + // we stop current context, supervisor will restart it. if let Some(timeout) = act.backoff.next_backoff() { ctx.run_later(timeout, |_, ctx| ctx.stop()); } else {