Run Clippy

This commit is contained in:
Maximilian Ammann 2022-03-24 13:51:01 +01:00
parent 64fff4c976
commit 6de03bb369
2 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ impl TileCoords {
} }
key.push(b); key.push(b);
} }
return key; key
} }
} }

View File

@ -60,7 +60,7 @@ mod tests {
assert!(fetcher.fetch_tile(&(0, 0, 0).into()).await.is_err()); // World overview assert!(fetcher.fetch_tile(&(0, 0, 0).into()).await.is_err()); // World overview
let world_tile: WorldTileCoords = (MUNICH_X, MUNICH_Y, MUNICH_Z).into(); let world_tile: WorldTileCoords = (MUNICH_X, MUNICH_Y, MUNICH_Z).into();
assert!(fetcher assert!(fetcher
.fetch_tile(&world_tile.into_tile(TileAddressingScheme::XYZ)) .fetch_tile(&world_tile.into_tile(TileAddressingScheme::XYZ).unwrap())
.await .await
.is_ok()); // Maxvorstadt Munich .is_ok()); // Maxvorstadt Munich
} }