From aebea6bd24dc1788c6db2f58204177af1c5d2dd6 Mon Sep 17 00:00:00 2001 From: sonota88 Date: Sun, 19 Jul 2020 04:06:42 +0900 Subject: doc(std/bytes): Fix wrong import in the example code (copyBytes) (#6787) --- std/bytes/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'std/bytes') diff --git a/std/bytes/README.md b/std/bytes/README.md index b1edac1e6..0bcee4b1c 100644 --- a/std/bytes/README.md +++ b/std/bytes/README.md @@ -83,7 +83,7 @@ concat(new Uint8Array([1, 2]), new Uint8Array([3, 4])); // returns Uint8Array(4) Copy bytes from one binary array to another. ```typescript -import { concat } from "https://deno.land/std/bytes/mod.ts"; +import { copyBytes } from "https://deno.land/std/bytes/mod.ts"; const dst = new Uint8Array(4); const src = Uint8Array.of(1, 2, 3, 4); -- cgit v1.2.3