From 215ad88baa8e002612fc5082089abd80a6f7d502 Mon Sep 17 00:00:00 2001 From: Maxim Zhukov Date: Fri, 15 Jan 2021 02:28:55 -0600 Subject: [PATCH] docs(std/bytes): fix typo in readme example (#9119) --- std/bytes/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/bytes/README.md b/std/bytes/README.md index bfe4003440..ae0c988ec5 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 ```