fix: duplicated words in actix-multipart and actix-http h2 comments

This commit is contained in:
Mira Sato 2026-05-14 05:06:10 +00:00
parent b8d8b20870
commit 51383aee62
2 changed files with 2 additions and 2 deletions

View File

@ -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)? {

View File

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