diff --git a/README.md b/README.md index d828a9f2a3a3284d0e0071cbc36b9c74ef583f0b..4a0d27dc792c67aea66bfb29226126051efb1cfb 100644 --- a/README.md +++ b/README.md @@ -18,14 +18,8 @@ to the dependencies section of your Cargo.toml. ### Example ```rust -extern crate serialize; -extern crate tiled; - -use std::fs::File; -use std::io::BufReader; use std::path::Path; - -use tiled::parse; +use tiled::parse_file; fn main() { let map = parse_file(&Path::new("assets/tiled_base64_zlib.tmx")).unwrap();