@@ -300,7 +300,7 @@ impl Cursor {
300300 pub async fn fetch_next < ' a > ( slf : Py < Self > ) -> RustPSQLDriverPyResult < PSQLDriverPyQueryResult > {
301301 let ( db_transaction, cursor_name) = Python :: with_gil ( |gil| {
302302 let self_ = slf. borrow ( gil) ;
303- return ( self_. db_transaction . clone ( ) , self_. cursor_name . clone ( ) ) ;
303+ ( self_. db_transaction . clone ( ) , self_. cursor_name . clone ( ) )
304304 } ) ;
305305
306306 let result = db_transaction
@@ -318,7 +318,7 @@ impl Cursor {
318318 pub async fn fetch_prior < ' a > ( slf : Py < Self > ) -> RustPSQLDriverPyResult < PSQLDriverPyQueryResult > {
319319 let ( db_transaction, cursor_name) = Python :: with_gil ( |gil| {
320320 let self_ = slf. borrow ( gil) ;
321- return ( self_. db_transaction . clone ( ) , self_. cursor_name . clone ( ) ) ;
321+ ( self_. db_transaction . clone ( ) , self_. cursor_name . clone ( ) )
322322 } ) ;
323323
324324 let result = db_transaction
@@ -336,7 +336,7 @@ impl Cursor {
336336 pub async fn fetch_first < ' a > ( slf : Py < Self > ) -> RustPSQLDriverPyResult < PSQLDriverPyQueryResult > {
337337 let ( db_transaction, cursor_name) = Python :: with_gil ( |gil| {
338338 let self_ = slf. borrow ( gil) ;
339- return ( self_. db_transaction . clone ( ) , self_. cursor_name . clone ( ) ) ;
339+ ( self_. db_transaction . clone ( ) , self_. cursor_name . clone ( ) )
340340 } ) ;
341341
342342 let result = db_transaction
@@ -354,7 +354,7 @@ impl Cursor {
354354 pub async fn fetch_last < ' a > ( slf : Py < Self > ) -> RustPSQLDriverPyResult < PSQLDriverPyQueryResult > {
355355 let ( db_transaction, cursor_name) = Python :: with_gil ( |gil| {
356356 let self_ = slf. borrow ( gil) ;
357- return ( self_. db_transaction . clone ( ) , self_. cursor_name . clone ( ) ) ;
357+ ( self_. db_transaction . clone ( ) , self_. cursor_name . clone ( ) )
358358 } ) ;
359359
360360 let result = db_transaction
@@ -375,7 +375,7 @@ impl Cursor {
375375 ) -> RustPSQLDriverPyResult < PSQLDriverPyQueryResult > {
376376 let ( db_transaction, cursor_name) = Python :: with_gil ( |gil| {
377377 let self_ = slf. borrow ( gil) ;
378- return ( self_. db_transaction . clone ( ) , self_. cursor_name . clone ( ) ) ;
378+ ( self_. db_transaction . clone ( ) , self_. cursor_name . clone ( ) )
379379 } ) ;
380380
381381 let result = db_transaction
@@ -400,7 +400,7 @@ impl Cursor {
400400 ) -> RustPSQLDriverPyResult < PSQLDriverPyQueryResult > {
401401 let ( db_transaction, cursor_name) = Python :: with_gil ( |gil| {
402402 let self_ = slf. borrow ( gil) ;
403- return ( self_. db_transaction . clone ( ) , self_. cursor_name . clone ( ) ) ;
403+ ( self_. db_transaction . clone ( ) , self_. cursor_name . clone ( ) )
404404 } ) ;
405405
406406 let result = db_transaction
@@ -424,7 +424,7 @@ impl Cursor {
424424 ) -> RustPSQLDriverPyResult < PSQLDriverPyQueryResult > {
425425 let ( db_transaction, cursor_name) = Python :: with_gil ( |gil| {
426426 let self_ = slf. borrow ( gil) ;
427- return ( self_. db_transaction . clone ( ) , self_. cursor_name . clone ( ) ) ;
427+ ( self_. db_transaction . clone ( ) , self_. cursor_name . clone ( ) )
428428 } ) ;
429429
430430 let result = db_transaction
@@ -449,7 +449,7 @@ impl Cursor {
449449 ) -> RustPSQLDriverPyResult < PSQLDriverPyQueryResult > {
450450 let ( db_transaction, cursor_name) = Python :: with_gil ( |gil| {
451451 let self_ = slf. borrow ( gil) ;
452- return ( self_. db_transaction . clone ( ) , self_. cursor_name . clone ( ) ) ;
452+ ( self_. db_transaction . clone ( ) , self_. cursor_name . clone ( ) )
453453 } ) ;
454454
455455 let result = db_transaction
@@ -473,7 +473,7 @@ impl Cursor {
473473 ) -> RustPSQLDriverPyResult < PSQLDriverPyQueryResult > {
474474 let ( db_transaction, cursor_name) = Python :: with_gil ( |gil| {
475475 let self_ = slf. borrow ( gil) ;
476- return ( self_. db_transaction . clone ( ) , self_. cursor_name . clone ( ) ) ;
476+ ( self_. db_transaction . clone ( ) , self_. cursor_name . clone ( ) )
477477 } ) ;
478478
479479 let result = db_transaction
0 commit comments