summaryrefslogtreecommitdiff
path: root/ext/http/http_next.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-10-25 13:43:38 +0200
committerGitHub <noreply@github.com>2023-10-25 13:43:38 +0200
commit093b3eee58181ec45839d0fe10b8157326a102b2 (patch)
tree33f1cb35bfef7a85335d46ca7cb055459c20d637 /ext/http/http_next.rs
parent6c60859407a39e579a9f7101b254c874af85ca68 (diff)
chore: update deno_core and port all remaining ops to `op2` (#20954)
Signed-off-by: Matt Mastracci <matthew@mastracci.com> Co-authored-by: Matt Mastracci <matthew@mastracci.com>
Diffstat (limited to 'ext/http/http_next.rs')
-rw-r--r--ext/http/http_next.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/http/http_next.rs b/ext/http/http_next.rs
index 522df280f..7fc396b38 100644
--- a/ext/http/http_next.rs
+++ b/ext/http/http_next.rs
@@ -661,8 +661,7 @@ pub fn op_http_set_response_body_text(
}
}
-// Skipping `fast` because we prefer an owned buffer here.
-#[op2]
+#[op2(fast)]
pub fn op_http_set_response_body_bytes(
#[smi] slab_id: SlabId,
#[buffer] buffer: JsBuffer,