diff --git a/actix-http/src/h2/dispatcher.rs b/actix-http/src/h2/dispatcher.rs index 400476c88..61a4d4bca 100644 --- a/actix-http/src/h2/dispatcher.rs +++ b/actix-http/src/h2/dispatcher.rs @@ -163,7 +163,7 @@ where Poll::Pending => match this.ping_pong.as_mut() { Some(ping_pong) => loop { if ping_pong.in_flight { - // When there is an in-flight ping-pong, poll pong and and keep-alive + // When there is an in-flight ping-pong, poll pong and keep-alive // timer. On successful pong received, update keep-alive timer to // determine the next timing of ping pong. match ping_pong.ping_pong.poll_pong(cx)? { diff --git a/actix-multipart/src/form/mod.rs b/actix-multipart/src/form/mod.rs index de0eeecaa..51136869b 100644 --- a/actix-multipart/src/form/mod.rs +++ b/actix-multipart/src/form/mod.rs @@ -862,7 +862,7 @@ mod tests { let response = send_form(&srv, form, "/").await; assert_eq!(response.status(), StatusCode::OK); - // Exceeds the the 30 byte limit + // Exceeds the 30 byte limit let mut form = multipart::Form::default(); form.add_text("field", "this string is more than 30 bytes long"); let response = send_form(&srv, form, "/").await;