Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions martin/src/cog/source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ impl CogSource {
tile_idx = idx;
} else {
return Ok(Vec::new());
};
}
let decode_result = decoder
.read_chunk(tile_idx)
.map_err(|e| CogError::ReadChunkFailed(e, tile_idx, *ifd, self.path.clone()))?;
Expand Down Expand Up @@ -272,7 +272,7 @@ fn verify_requirments(decoder: &mut Decoder<File>, path: &Path) -> Result<(), Co
color_type,
path.to_path_buf(),
))?;
};
}
Ok(())
}

Expand Down
2 changes: 1 addition & 1 deletion martin/src/pg/pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ impl PgPool {
SslModeOverride::VerifyFull => {
info!("Using sslmode=verify-full to connect: {pg_cfg:?}");
}
};
}
let connector = make_connector(&config.ssl_certificates, ssl_mode)?;
Manager::from_config(pg_cfg, connector, mgr_config)
};
Expand Down
2 changes: 1 addition & 1 deletion martin/src/sprites/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ impl SpriteSources {
configs.insert(id.clone(), source.clone());
results.add_source(id, source.abs_path()?);
}
};
}

for path in cfg.paths {
let Some(name) = path.file_name() else {
Expand Down
2 changes: 1 addition & 1 deletion martin/src/styles/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ impl StyleSources {
);
}
}
};
}

let mut paths_with_names = Vec::new();
for base_path in cfg.paths {
Expand Down
2 changes: 1 addition & 1 deletion mbtiles/src/bindiff.rs
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ impl BinDiffer<ApplierBefore, ApplierAfter> for BinDiffPatcher {

if self.patch_type == BinDiffGz {
new_tile = encode_gzip(&new_tile)?;
};
}

Ok(ApplierAfter {
coord: value.coord,
Expand Down
4 changes: 2 additions & 2 deletions mbtiles/src/copier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ impl MbtileCopierInt {
self.dst_mbt
.set_metadata_value(&mut conn, AGG_TILES_HASH_AFTER_APPLY, &hash)
.await?;
};
}

// TODO: perhaps disable all except --copy all when using with diffs, or else is not making much sense
if self.options.copy.copy_tiles() && !self.options.skip_agg_tiles_hash {
Expand Down Expand Up @@ -582,7 +582,7 @@ impl MbtileCopierInt {
}
} else {
init_mbtiles_schema(&mut *conn, dst).await?;
};
}

Ok(())
}
Expand Down
Loading