summaryrefslogtreecommitdiff
path: root/std/bytes
diff options
context:
space:
mode:
authorsonota88 <yosiot8753@gmail.com>2020-07-19 04:06:42 +0900
committerGitHub <noreply@github.com>2020-07-18 15:06:42 -0400
commitaebea6bd24dc1788c6db2f58204177af1c5d2dd6 (patch)
treeaca296d60dce2abac16da4f4074ab063d38fe94a /std/bytes
parent071a6e284aaaa26d40300b82d9f4cbb15a4dd6f5 (diff)
doc(std/bytes): Fix wrong import in the example code (copyBytes) (#6787)
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 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);