diff --git a/README.md b/README.md index cd360d0f95b645dcb419c6d978645274e1e2bc34..4118a6a0a79fc86725e5b844fecf730dae72345d 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ Currently in an unfinished state, I'm afraid. I am working on it though! +assets/tilesheet.png by Buch (http://blog-buch.rhcloud.com/) + Licenced under MIT diff --git a/src/lib.rs b/src/lib.rs index fa449e83542d1c60b7e37d94ed990b5228166aa0..b3a273f480378ab0da3683b3fc7c23b94bb2ca9d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -421,7 +421,7 @@ fn parse_data<B: Buffer>(parser: &mut EventReader<B>, attrs: Vec<Attribute>, wid } } -pub fn parse<B: Buffer>(parser: &mut EventReader<B>) -> Result<Map, TiledError>{ +pub fn parse<B: Buffer>(parser: &mut EventReader<B>) -> Result<Map, TiledError> { loop { match parser.next() { StartElement {name, attributes, ..} => {