update readme to reflect library changes

This commit is contained in:
Ty Overby 2015-01-03 11:31:48 -08:00
parent 2447e093a9
commit 0b5b3653e4
1 changed files with 3 additions and 3 deletions

View File

@ -18,15 +18,15 @@ library.
```rust ```rust
extern crate bincode; extern crate bincode;
extern crate serialize; extern crate "rustc-serialize" as rustc_serialize;
#[deriving(Encodable, Decodable, PartialEq)] #[deriving(RustcEncodable, RustcDecodable, PartialEq)]
struct Entity { struct Entity {
x: f32, x: f32,
y: f32, y: f32,
} }
#[deriving(Encodable, Decodable, PartialEq)] #[deriving(RustcEncodable, RustcDecodable, PartialEq)]
struct World { struct World {
entities: Vec<Entity> entities: Vec<Entity>
} }