From 105fa09dc0021b7b15c4aea3056bf6f4825be7b9 Mon Sep 17 00:00:00 2001 From: David M <PieKing1215@users.noreply.github.com> Date: Wed, 29 Dec 2021 19:09:15 -0500 Subject: [PATCH] Fix README example imports --- README.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/README.md b/README.md index d828a9f..4a0d27d 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(); -- GitLab