Skip to content

Commit

Permalink
fix a typo in README.md (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
oconnor663 authored and droundy committed Apr 13, 2017
1 parent 443d91c commit d7816a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fn write_u16(buf: &mut [u8], n: u16);
```

Looking at this, you might wonder why they accept a slice reference as
input. After all, they always one just two bytes. These functions
input. After all, they always want just two bytes. These functions
must panic if given a slice that is too small, which means that unless
they are inlined, then a runtime bounds-check is forced, even if it
may be statically known that the input is the right size.
Expand Down

0 comments on commit d7816a2

Please sign in to comment.