Skip to content
Snippets Groups Projects
Unverified Commit 105fa09d authored by David M's avatar David M Committed by GitHub
Browse files

Fix README example imports

parent fea22607
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment