@@ -581,7 +581,6 @@ pub fn py_sequence_into_flat_vec(
581581 final_vec. append ( & mut next_vec) ;
582582 } else {
583583 final_vec. push ( from_python_typed ( & ok_seq_elem, type_) ?) ;
584- continue ;
585584 }
586585 }
587586
@@ -627,7 +626,7 @@ fn convert_py_to_rust_coord_values(parameters: Vec<Py<PyAny>>) -> PSQLPyResult<V
627626 "Incorrect types of coordinate values. It must be int or float" . into ( ) ,
628627 ) )
629628 }
630- } ;
629+ }
631630 }
632631
633632 Ok :: < Vec < f64 > , RustPSQLDriverError > ( coord_values_vec)
@@ -693,7 +692,7 @@ pub fn build_geo_coords(
693692 return Err ( RustPSQLDriverError :: PyToRustValueConversionError (
694693 "Inner coordinates must be passed as pairs of int/float in list/tuple/set or as flat structure with int/float values" . into ( ) ,
695694 ) ) ;
696- } ;
695+ }
697696 Ok :: < Vec < Coord > , RustPSQLDriverError > ( result_vec)
698697 } ) ?;
699698
@@ -735,7 +734,7 @@ pub fn build_flat_geo_coords(
735734 return Err ( RustPSQLDriverError :: PyToRustValueConversionError ( format ! (
736735 "Invalid number of values for this geo type, allowed {allowed_length}, got: {parameters_length}"
737736 ) ) ) ;
738- } ;
737+ }
739738
740739 let result_vec = convert_py_to_rust_coord_values ( parameters) ?;
741740
@@ -744,7 +743,7 @@ pub fn build_flat_geo_coords(
744743 return Err ( RustPSQLDriverError :: PyToRustValueConversionError ( format ! (
745744 "Invalid number of values for this geo type, allowed {allowed_length}, got: {parameters_length}"
746745 ) ) ) ;
747- } ;
746+ }
748747
749748 Ok :: < Vec < f64 > , RustPSQLDriverError > ( result_vec)
750749 } )
@@ -783,7 +782,7 @@ fn py_sequence_to_rust(bind_parameters: &Bound<PyAny>) -> PSQLPyResult<Vec<Py<Py
783782 return Err ( RustPSQLDriverError :: PyToRustValueConversionError ( format ! (
784783 "Invalid sequence type, please use list/tuple/set, {bind_parameters}"
785784 ) ) ) ;
786- } ;
785+ }
787786
788787 Ok :: < Vec < Py < PyAny > > , RustPSQLDriverError > ( coord_values_sequence_vec)
789788}
0 commit comments