diff options
author | Andrew Poelstra <apoelstra@wpsoftware.net> | 2015-04-10 13:17:56 -0500 |
---|---|---|
committer | Andrew Poelstra <apoelstra@wpsoftware.net> | 2015-04-10 13:17:56 -0500 |
commit | 07d85e3dc662fd305d7bb3b8b5c62f6df3484aec (patch) | |
tree | c6062de42cfa0bb0f0356979483d219bad696ed6 /README.md | |
parent | 4bab6ee59d7880293027eb0fd148fdf56cdc11e9 (diff) | |
download | byteorder-07d85e3dc662fd305d7bb3b8b5c62f6df3484aec.tar.gz |
Update README.md
Update `ReaderBytesExt` and `WriterBytesExt` for new names in the README
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 |