Skip to content

Commit

Permalink
doc(std/bytes): Fix wrong import in the example code (copyBytes) (den…
Browse files Browse the repository at this point in the history
  • Loading branch information
sonota88 committed Jul 18, 2020
1 parent 071a6e2 commit aebea6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/bytes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit aebea6b

Please sign in to comment.