diff options
author | Andrew Gallant <jamslam@gmail.com> | 2015-04-15 18:30:44 -0400 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2015-04-15 18:30:44 -0400 |
commit | f5a19cb365fef31f1f6bc14edccf833e7f7b44ff (patch) | |
tree | 1520f16a9278a320531655ea3d64509483f3e630 /README.md | |
parent | dc34f6b86776bc2d23eb9d49eeafec82e75ee3e5 (diff) | |
parent | 281622bc407f1f15b911ed203a24790b1ca5dff5 (diff) | |
download | byteorder-f5a19cb365fef31f1f6bc14edccf833e7f7b44ff.tar.gz |
Merge branch 'master' of github.com:BurntSushi/byteorder
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -33,7 +33,7 @@ extension methods like so: ```rust extern crate byteorder; -use byteorder::{ReaderBytesExt, WriterBytesExt, BigEndian, LittleEndian}; +use byteorder::{ReadBytesExt, WriteBytesExt, BigEndian, LittleEndian}; ``` Or use the `ReadBytesExt`/`WriteBytesExt` traits if you're using the new @@ -43,7 +43,7 @@ For example: ```rust use std::old_io::MemReader; -use byteorder::{BigEndian, ReaderBytesExt}; +use byteorder::{BigEndian, ReadBytesExt}; let mut rdr = MemReader::new(vec![2, 5, 3, 0]); // Note that we use type parameters to indicate which kind of byte order |