We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15494cb commit f64780aCopy full SHA for f64780a
1 file changed
versatiles_container/src/container/pmtiles/reader.rs
@@ -437,8 +437,7 @@ impl TileSource for PMTilesReader {
437
self.header.tile_data.offset,
438
self.internal_compression,
439
)
440
- .await?
441
- && let Ok(size) = u32::try_from(range.length)
+ .await? && let Ok(size) = u32::try_from(range.length)
442
{
443
tile_sizes.push((coord, size));
444
}
@@ -534,11 +533,7 @@ mod tests {
534
533
.await?
535
.expect("tile should exist")
536
.into_blob(compression)?;
537
- assert_eq!(
538
- *size,
539
- blob.len() as u32,
540
- "size mismatch at {coord:?}"
541
- );
+ assert_eq!(*size, blob.len() as u32, "size mismatch at {coord:?}");
542
543
544
Ok(())
0 commit comments