mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 09:31:22 -05:00
fix code sample in Docs
This commit is contained in:
parent
b1579460ce
commit
fbaa40f6dc
1 changed files with 1 additions and 1 deletions
2
Docs.md
2
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();
|
||||
|
|
Loading…
Add table
Reference in a new issue