summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-01-17 15:26:51 +0100
committerGitHub <noreply@github.com>2020-01-17 15:26:51 +0100
commitd776ca8f2e02dea210b50b28a4e4c20f31eed1f6 (patch)
treee5422e9d177ae07244f84eca4703cfed6d29862f /core
parentad6635fab50c523f5de92660956aa384ca76415d (diff)
fix deno_core_http_bench (#3698)
Diffstat (limited to 'core')
-rw-r--r--core/examples/http_bench.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/examples/http_bench.js b/core/examples/http_bench.js
index dc204dfca..9473b6880 100644
--- a/core/examples/http_bench.js
+++ b/core/examples/http_bench.js
@@ -71,7 +71,7 @@ function recordFromBuf(buf) {
return new Int32Array(buf.buffer, buf.byteOffset, buf.byteLength / 4);
}
-function handleAsyncMsgFromRust(opId, buf) {
+function handleAsyncMsgFromRust(buf) {
const record = recordFromBuf(buf);
const p = promiseMap.get(record[0]);
promiseMap.delete(record[0]);