summaryrefslogtreecommitdiff
path: root/std/bytes
diff options
context:
space:
mode:
authorMaxim Zhukov <maxim.zhukov.dev@gmail.com>2021-01-15 02:28:55 -0600
committerGitHub <noreply@github.com>2021-01-15 09:28:55 +0100
commit215ad88baa8e002612fc5082089abd80a6f7d502 (patch)
tree46b70cd35c0e4431c7d3bcce598523bd2c89fa23 /std/bytes
parentad21ac3115456699ddf2e785e292b6368ec5fc95 (diff)
docs(std/bytes): fix typo in readme example (#9119)
Diffstat (limited to 'std/bytes')
-rw-r--r--std/bytes/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/bytes/README.md b/std/bytes/README.md
index bfe400344..ae0c988ec 100644
--- a/std/bytes/README.md
+++ b/std/bytes/README.md
@@ -131,7 +131,7 @@ Copy bytes from one binary array to another.
```typescript
import { copy } from "https://deno.land/std@$STD_VERSION/bytes/mod.ts";
-const dst = new Uint8Array(4);
+const dest = new Uint8Array(4);
const src = Uint8Array.of(1, 2, 3, 4);
const len = copy(src, dest); // returns len = 4
```