fix: duplicated words in actix-multipart and actix-http h2 comments (#4070)

Co-authored-by: Mira Sato <275437409+oab24413gmai@users.noreply.github.com>
This commit is contained in:
oab24413gmai 2026-05-15 05:07:17 -05:00 committed by GitHub
parent b8d8b20870
commit c6610d41ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -163,7 +163,7 @@ where
Poll::Pending => match this.ping_pong.as_mut() { Poll::Pending => match this.ping_pong.as_mut() {
Some(ping_pong) => loop { Some(ping_pong) => loop {
if ping_pong.in_flight { 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 // timer. On successful pong received, update keep-alive timer to
// determine the next timing of ping pong. // determine the next timing of ping pong.
match ping_pong.ping_pong.poll_pong(cx)? { match ping_pong.ping_pong.poll_pong(cx)? {

View File

@ -862,7 +862,7 @@ mod tests {
let response = send_form(&srv, form, "/").await; let response = send_form(&srv, form, "/").await;
assert_eq!(response.status(), StatusCode::OK); assert_eq!(response.status(), StatusCode::OK);
// Exceeds the the 30 byte limit // Exceeds the 30 byte limit
let mut form = multipart::Form::default(); let mut form = multipart::Form::default();
form.add_text("field", "this string is more than 30 bytes long"); form.add_text("field", "this string is more than 30 bytes long");
let response = send_form(&srv, form, "/").await; let response = send_form(&srv, form, "/").await;