File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ impl FlightSqlServiceImpl {
133133 . try_record_request ( ctx, req)
134134 . await
135135 {
136- error ! ( "error recording request: {}" , e. to_string ( ) )
136+ error ! ( "error recording request: {}" , e)
137137 }
138138
139139 histogram ! ( latency_metric) . record ( duration. get_milliseconds ( ) as f64 ) ;
Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ async fn create_response(
299299 . try_record_request ( state. execution . session_ctx ( ) , req)
300300 . await
301301 {
302- error ! ( "Error recording request: {}" , e. to_string ( ) )
302+ error ! ( "Error recording request: {}" , e)
303303 }
304304 res
305305}
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ impl FlightSQLTabState<'_> {
103103 self . query_results_state = Some ( RefCell :: new ( TableState :: default ( ) ) ) ;
104104 }
105105
106- pub fn editor ( & self ) -> TextArea {
106+ pub fn editor ( & self ) -> TextArea < ' _ > {
107107 // TODO: Figure out how to do this without clone. Probably need logic in handler to make
108108 // updates to the Widget and then pass a ref
109109 self . editor . clone ( )
You can’t perform that action at this time.
0 commit comments