Skip to content

Commit

Permalink
docs(bytes): fix typo in readme example (denoland/deno#9119)
Browse files Browse the repository at this point in the history
  • Loading branch information
FSou1 authored and caspervonb committed Jan 31, 2021
1 parent 5bde5fe commit c0dc749
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bytes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

0 comments on commit c0dc749

Please sign in to comment.