Skip to content

Commit 9d26a91

Browse files
committed
Remove dbg!()s in tor-config
This should satisfy our CI and turn it green again.
1 parent b4e9e42 commit 9d26a91

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

crates/tor-config/src/path.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -318,23 +318,19 @@ mod test_serde {
318318
}
319319

320320
fn deser_json(json: &str) -> CfgPath {
321-
dbg!(json);
322321
let TestConfigFile { p } = serde_json::from_str(json).expect("deser json failed");
323322
p
324323
}
325324
fn deser_toml(toml: &str) -> CfgPath {
326-
dbg!(toml);
327325
let TestConfigFile { p } = toml::from_str(toml).expect("deser toml failed");
328326
p
329327
}
330328
fn deser_toml_cfg(toml: &str) -> CfgPath {
331-
dbg!(toml);
332329
let cfg = config::File::from_str(toml, config::FileFormat::Toml);
333330
let cfg = config::Config::builder()
334331
.add_source(cfg)
335332
.build()
336333
.expect("parse toml failed");
337-
dbg!(&cfg);
338334
let TestConfigFile { p } = cfg.try_deserialize().expect("deser cfg failed");
339335
p
340336
}
@@ -392,7 +388,6 @@ mod test_serde {
392388
Err(e) if easy => panic!("ser failed {:?} e={:?}", &input, &e),
393389
Err(_) => return,
394390
};
395-
dbg!(&input, &s);
396391
let output = deser(&s).expect("deser failed");
397392
assert_eq!(&input, &output, "s={:?}", &s);
398393
};

0 commit comments

Comments
 (0)