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