From d0b859ec377a757d8bf726752c00be7ede73478e Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Fri, 19 Oct 2018 00:28:47 +0200 Subject: format --- src/isolate.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 { -- cgit v1.2.3