File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
connectors/schema-connector/src Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ pub mod coerce_opt {
8888const fn coerce < ' a , T > (
8989 coercion : impl Fn ( & ' a ast:: Expression ) -> Option < T > ,
9090 expected_type : & ' static str ,
91- ) -> impl ( Fn ( & ' a ast:: Expression , & mut Diagnostics ) -> Option < T > ) {
91+ ) -> impl Fn ( & ' a ast:: Expression , & mut Diagnostics ) -> Option < T > {
9292 move |expr, diagnostics| match coercion ( expr) {
9393 Some ( t) => Some ( t) ,
9494 None => {
@@ -106,7 +106,7 @@ const fn coerce<'a, T>(
106106/// Coerce an expression to an array. The coercion function is used to coerce the array elements.
107107pub fn coerce_array < ' a , T > (
108108 expr : & ' a ast:: Expression ,
109- coercion : & dyn ( Fn ( & ' a ast:: Expression , & mut Diagnostics ) -> Option < T > ) ,
109+ coercion : & dyn Fn ( & ' a ast:: Expression , & mut Diagnostics ) -> Option < T > ,
110110 diagnostics : & mut Diagnostics ,
111111) -> Option < Vec < T > > {
112112 let mut out = Vec :: new ( ) ;
Original file line number Diff line number Diff line change 11[toolchain ]
2- channel = " 1.89 .0"
2+ channel = " 1.90 .0"
33components = [" clippy" , " rustfmt" , " rust-src" ]
44targets = [
55 # WASM target for serverless and edge environments.
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ struct ConnectorErrorImpl {
2828 /// Additional context.
2929 message : Option < Box < str > > ,
3030 /// The source of the error.
31- source : Option < Arc < ( dyn StdError + Send + Sync + ' static ) > > ,
31+ source : Option < Arc < dyn StdError + Send + Sync + ' static > > ,
3232 /// See the tracing-error docs.
3333 context : SpanTrace ,
3434}
Original file line number Diff line number Diff line change @@ -653,7 +653,7 @@ impl<'a> SqlSchemaDescriber<'a> {
653653
654654 let rows = self . conn . query_raw ( sql, & [ Value :: array ( namespaces) ] ) . await ?;
655655
656- let names = rows. into_iter ( ) . map ( |row| ( row. get_expect_string ( "namespace_name" ) ) ) ;
656+ let names = rows. into_iter ( ) . map ( |row| row. get_expect_string ( "namespace_name" ) ) ;
657657
658658 for namespace in names {
659659 sql_schema. push_namespace ( namespace) ;
You can’t perform that action at this time.
0 commit comments