diff --git a/src/coords.rs b/src/coords.rs index 4e848e9a..4f9ce2ca 100644 --- a/src/coords.rs +++ b/src/coords.rs @@ -101,7 +101,7 @@ impl TileCoords { } key.push(b); } - return key; + key } } diff --git a/src/io/static_tile_fetcher.rs b/src/io/static_tile_fetcher.rs index 0e066b0b..7fbe9fe1 100644 --- a/src/io/static_tile_fetcher.rs +++ b/src/io/static_tile_fetcher.rs @@ -60,7 +60,7 @@ mod tests { assert!(fetcher.fetch_tile(&(0, 0, 0).into()).await.is_err()); // World overview let world_tile: WorldTileCoords = (MUNICH_X, MUNICH_Y, MUNICH_Z).into(); assert!(fetcher - .fetch_tile(&world_tile.into_tile(TileAddressingScheme::XYZ)) + .fetch_tile(&world_tile.into_tile(TileAddressingScheme::XYZ).unwrap()) .await .is_ok()); // Maxvorstadt Munich }