aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAndrew Poelstra <apoelstra@wpsoftware.net>2015-04-10 13:17:56 -0500
committerAndrew Poelstra <apoelstra@wpsoftware.net>2015-04-10 13:17:56 -0500
commit07d85e3dc662fd305d7bb3b8b5c62f6df3484aec (patch)
treec6062de42cfa0bb0f0356979483d219bad696ed6 /README.md
parent4bab6ee59d7880293027eb0fd148fdf56cdc11e9 (diff)
downloadbyteorder-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.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 967e50b..feace9b 100644
--- a/README.md
+++ b/README.md
@@ -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