summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author迷渡 <justjavac@gmail.com>2018-11-14 15:36:48 +0800
committerRyan Dahl <ry@tinyclouds.org>2018-11-14 00:18:41 -0800
commitfbaa40f6dcf67bf1113f3d4d8f600d2f73e01414 (patch)
tree38127a01f3a45727c782ae7bab9289d5f3b7dedd
parentb1579460ced238820c9d3e3d8343d17a8c4b4e25 (diff)
fix code sample in Docs
-rw-r--r--Docs.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/Docs.md b/Docs.md
index feda02027..e9750ffb2 100644
--- a/Docs.md
+++ b/Docs.md
@@ -66,7 +66,7 @@ The copy here is actually zero-copy. That is, it reads data from the socket and
writes it back to it without ever calling a memcpy() or similar.
```ts
-import { listen, accept, copy } from "deno";
+import { listen, copy } from "deno";
const listener = listen("tcp", ":8080");
while (true) {
const conn = await listener.accept();