Skip to content

Commit dc18197

Browse files
authored
remove debug messages (#149)
1 parent 18bd320 commit dc18197

File tree

4 files changed

+1
-8
lines changed

4 files changed

+1
-8
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/bin/cosmogony.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ fn serialize_cosmogony(
153153
fn cosmogony(args: GenerateArgs) -> Result<()> {
154154
let format = OutputFormat::from_filename(&args.output)?;
155155
let filter_langs = args.filter_langs();
156-
println!("{:?}", filter_langs);
157156

158157
if let Some(num_threads) = args.num_threads {
159158
rayon::ThreadPoolBuilder::new()
@@ -207,13 +206,11 @@ fn main() {
207206
if let ErrorKind::DisplayVersion = err.kind() {
208207
// The version number has been displayed.
209208
// Args should not be parsed a second time.
210-
println!();
211209
std::process::exit(0)
212210
}
213211
Args::parse()
214212
});
215213

216-
println!("{:?}", args);
217214
if let Err(e) = run(args) {
218215
log::error!("cosmogony in error! {:?}", e);
219216
e.chain().for_each(|c| {

src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,6 @@ fn type_zones(
167167
fn compute_labels(zones: &mut [Zone], filter_langs: &[String]) {
168168
info!("computing all zones's label");
169169
let nb_zones = zones.len();
170-
println!("{:?}", nb_zones);
171170
for i in 0..nb_zones {
172171
let (mslice, z) = MutableSlice::init(zones, i);
173172
z.compute_labels(&mslice, filter_langs);
@@ -197,8 +196,6 @@ pub fn create_ontology(
197196

198197
build_hierarchy(zones, inclusions);
199198

200-
println!("{:?}", zones.len());
201-
202199
if !disable_voronoi {
203200
compute_additional_cities(zones, parsed_pbf, ztree);
204201
}

src/zone_ext.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,6 @@ impl ZoneExt for Zone {
315315
it.collect()
316316
};
317317

318-
println!("{:?}", all_lang);
319318
let international_labels = all_lang
320319
.iter()
321320
.map(|lang| {

0 commit comments

Comments
 (0)