summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/metrics_test.ts2
-rw-r--r--src/isolate.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/js/metrics_test.ts b/js/metrics_test.ts
index fd146df2d..f1572ae54 100644
--- a/js/metrics_test.ts
+++ b/js/metrics_test.ts
@@ -41,4 +41,4 @@ testPerm({ write: true }, async function metricsUpdatedIfNoResponseAsync() {
const metrics = deno.metrics();
assert(metrics.opsDispatched === metrics.opsCompleted);
-}); \ No newline at end of file
+});
diff --git a/src/isolate.rs b/src/isolate.rs
index 340b1db89..be6197c68 100644
--- a/src/isolate.rs
+++ b/src/isolate.rs
@@ -172,7 +172,7 @@ impl Isolate {
pub fn respond(&mut self, req_id: i32, buf: Buf) {
self.state.metrics_op_completed(buf.len() as u64);
-
+
// TODO(zero-copy) Use Buf::leak(buf) to leak the heap allocated buf. And
// don't do the memcpy in ImportBuf() (in libdeno/binding.cc)
unsafe {