Skip to content

Commit

Permalink
Fix clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pka committed Sep 23, 2024
1 parent ff0c623 commit dd8b75b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bbox-tile-server/src/seed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,10 @@ impl TileService {
// map service source -> tile store writer
// map service source -> batch collector -> mbtiles store writer

let iter = griditer.map(move |xyz| {
let path = CacheLayout::Zxy.path_string(&PathBuf::new(), &xyz, &format);
let iter = griditer.inspect(move |xyz| {
let path = CacheLayout::Zxy.path_string(&PathBuf::new(), xyz, &format);
progress.set_message(path.clone());
progress.inc(1);
xyz
});
let par_stream = stream::iter(iter).par_then(threads, move |xyz| {
let tileset = tileset_arc.clone();
Expand Down

0 comments on commit dd8b75b

Please sign in to comment.