mirror of https://github.com/fafhrd91/actix-web
fix: duplicated words in actix-multipart and actix-http h2 comments
This commit is contained in:
parent
b8d8b20870
commit
51383aee62
|
|
@ -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)? {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue