File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -318,23 +318,19 @@ mod test_serde {
318
318
}
319
319
320
320
fn deser_json ( json : & str ) -> CfgPath {
321
- dbg ! ( json) ;
322
321
let TestConfigFile { p } = serde_json:: from_str ( json) . expect ( "deser json failed" ) ;
323
322
p
324
323
}
325
324
fn deser_toml ( toml : & str ) -> CfgPath {
326
- dbg ! ( toml) ;
327
325
let TestConfigFile { p } = toml:: from_str ( toml) . expect ( "deser toml failed" ) ;
328
326
p
329
327
}
330
328
fn deser_toml_cfg ( toml : & str ) -> CfgPath {
331
- dbg ! ( toml) ;
332
329
let cfg = config:: File :: from_str ( toml, config:: FileFormat :: Toml ) ;
333
330
let cfg = config:: Config :: builder ( )
334
331
. add_source ( cfg)
335
332
. build ( )
336
333
. expect ( "parse toml failed" ) ;
337
- dbg ! ( & cfg) ;
338
334
let TestConfigFile { p } = cfg. try_deserialize ( ) . expect ( "deser cfg failed" ) ;
339
335
p
340
336
}
@@ -392,7 +388,6 @@ mod test_serde {
392
388
Err ( e) if easy => panic ! ( "ser failed {:?} e={:?}" , & input, & e) ,
393
389
Err ( _) => return ,
394
390
} ;
395
- dbg ! ( & input, & s) ;
396
391
let output = deser ( & s) . expect ( "deser failed" ) ;
397
392
assert_eq ! ( & input, & output, "s={:?}" , & s) ;
398
393
} ;
You can’t perform that action at this time.
0 commit comments