summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
```