@@ -88,7 +88,6 @@ fn escape_property_values(properties: &Map<String, Value>) -> Result<Option<Map<
88
88
Value :: Object ( object) => {
89
89
let value = escape_property_values ( & object. clone ( ) ) ?;
90
90
result. insert ( name. clone ( ) , serde_json:: to_value ( value) ?) ;
91
- continue ;
92
91
} ,
93
92
Value :: Array ( array) => {
94
93
let mut result_array: Vec < Value > = Vec :: new ( ) ;
@@ -97,7 +96,6 @@ fn escape_property_values(properties: &Map<String, Value>) -> Result<Option<Map<
97
96
Value :: Object ( object) => {
98
97
let value = escape_property_values ( & object. clone ( ) ) ?;
99
98
result_array. push ( serde_json:: to_value ( value) ?) ;
100
- continue ;
101
99
} ,
102
100
Value :: Array ( _) => {
103
101
return Err ( DscError :: Parser ( t ! ( "configure.mod.nestedArraysNotSupported" ) . to_string ( ) ) ) ;
@@ -779,7 +777,6 @@ impl Configurator {
779
777
Value :: Object ( object) => {
780
778
let value = self . invoke_property_expressions ( Some ( object) ) ?;
781
779
result. insert ( name. clone ( ) , serde_json:: to_value ( value) ?) ;
782
- continue ;
783
780
} ,
784
781
Value :: Array ( array) => {
785
782
let mut result_array: Vec < Value > = Vec :: new ( ) ;
@@ -788,7 +785,6 @@ impl Configurator {
788
785
Value :: Object ( object) => {
789
786
let value = self . invoke_property_expressions ( Some ( object) ) ?;
790
787
result_array. push ( serde_json:: to_value ( value) ?) ;
791
- continue ;
792
788
} ,
793
789
Value :: Array ( _) => {
794
790
return Err ( DscError :: Parser ( t ! ( "configure.mod.nestedArraysNotSupported" ) . to_string ( ) ) ) ;
@@ -821,7 +817,7 @@ impl Configurator {
821
817
result. insert ( name. clone ( ) , Value :: String ( string_result. to_string ( ) ) ) ;
822
818
} else {
823
819
result. insert ( name. clone ( ) , statement_result) ;
824
- } ;
820
+ }
825
821
} ,
826
822
_ => {
827
823
result. insert ( name. clone ( ) , value. clone ( ) ) ;
0 commit comments