File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change 3535 D : Deserializer < ' de > ,
3636{
3737 let opt: Option < Rc < RefCell < Opt > > > = Option :: deserialize ( deserializer) ?;
38- //debug!("sconfig_opt {:?}", opt);
3938 if let Some ( opt) = opt {
4039 opt. as_ref ( ) . borrow_mut ( ) . level = Level :: Global ;
4140 Ok ( Some ( opt) )
@@ -690,7 +689,6 @@ mod tests {
690689
691690 #[ test]
692691 fn test_deserialize ( ) {
693- debug ! ( "START" ) ;
694692 let config = r#"
695693 {
696694 "options": {
@@ -756,7 +754,6 @@ mod tests {
756754 ]
757755 }
758756 "# ;
759- debug ! ( "STEP 1" ) ;
760757 let config: SConfig = serde_json:: from_str ( config) . unwrap ( ) ;
761758 let options = config. options . as_ref ( ) . unwrap ( ) . as_ref ( ) . borrow ( ) ;
762759 let path = options. path . as_ref ( ) . unwrap ( ) ;
@@ -1161,8 +1158,7 @@ mod tests {
11611158 . build ( )
11621159 } )
11631160 . build ( ) ;
1164- let config = serde_json:: to_string_pretty ( & config) . unwrap ( ) ;
1165- debug ! ( "{}" , config) ;
1161+ serde_json:: to_string_pretty ( & config) . unwrap ( ) ;
11661162 }
11671163
11681164 #[ test]
You can’t perform that action at this time.
0 commit comments