From d4b3b39cc021bfac76e023eedd217fe0c2df9978 Mon Sep 17 00:00:00 2001 From: cui fliter Date: Mon, 4 Mar 2024 22:28:57 +0800 Subject: chore: fix typos (#22677) --- ext/http/http_next.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext') diff --git a/ext/http/http_next.rs b/ext/http/http_next.rs index e8c7ffbcc..99d602fcc 100644 --- a/ext/http/http_next.rs +++ b/ext/http/http_next.rs @@ -289,7 +289,7 @@ pub fn op_http_set_promise_complete(external: *const c_void, status: u16) { fn set_promise_complete(http: Rc, status: u16) { // The Javascript code should never provide a status that is invalid here (see 23_response.js), so we - // will quitely ignore invalid values. + // will quietly ignore invalid values. if let Ok(code) = StatusCode::from_u16(status) { http.response_parts().status = code; } @@ -686,7 +686,7 @@ fn set_response( http.set_response_body(response_fn(compression)); // The Javascript code should never provide a status that is invalid here (see 23_response.js), so we - // will quitely ignore invalid values. + // will quietly ignore invalid values. if let Ok(code) = StatusCode::from_u16(status) { http.response_parts().status = code; } -- cgit v1.2.3