File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ where
100100
101101 pub async fn query ( & self , sql : & str , params : impl IntoParams ) -> crate :: Result < Rows > {
102102 tracing:: trace!( "querying `{}`" , sql) ;
103- let mut stmt = crate :: hrana:: Statement :: new (
103+ let stmt = crate :: hrana:: Statement :: new (
104104 self . conn . current_stream ( ) . clone ( ) ,
105105 sql. to_string ( ) ,
106106 true ,
@@ -139,7 +139,7 @@ where
139139 pub async fn query ( & self , sql : & str , params : impl IntoParams ) -> crate :: Result < Rows > {
140140 tracing:: trace!( "querying `{}`" , sql) ;
141141 let stream = self . inner . stream ( ) . clone ( ) ;
142- let mut stmt = crate :: hrana:: Statement :: new ( stream, sql. to_string ( ) , true ) . await ?;
142+ let stmt = crate :: hrana:: Statement :: new ( stream, sql. to_string ( ) , true ) . await ?;
143143 let rows = stmt. query_raw ( & params. into_params ( ) ?) . await ?;
144144 Ok ( Rows {
145145 inner : Box :: new ( rows) ,
You can’t perform that action at this time.
0 commit comments