summaryrefslogtreecommitdiff
path: root/ext/http/http_next.rs
diff options
context:
space:
mode:
authorcui fliter <imcusg@gmail.com>2024-03-04 22:28:57 +0800
committerGitHub <noreply@github.com>2024-03-04 14:28:57 +0000
commitd4b3b39cc021bfac76e023eedd217fe0c2df9978 (patch)
tree6d1e72ffc8a0672dbf0e6c8b239930de2eaac8d6 /ext/http/http_next.rs
parent11db68ce96dfe561da6d7f4938e412635dc688d7 (diff)
chore: fix typos (#22677)
Diffstat (limited to 'ext/http/http_next.rs')
-rw-r--r--ext/http/http_next.rs4
1 files changed, 2 insertions, 2 deletions
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<HttpRecord>, 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;
}