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 {
88
88
const fn coerce < ' a , T > (
89
89
coercion : impl Fn ( & ' a ast:: Expression ) -> Option < T > ,
90
90
expected_type : & ' static str ,
91
- ) -> impl ( Fn ( & ' a ast:: Expression , & mut Diagnostics ) -> Option < T > ) {
91
+ ) -> impl Fn ( & ' a ast:: Expression , & mut Diagnostics ) -> Option < T > {
92
92
move |expr, diagnostics| match coercion ( expr) {
93
93
Some ( t) => Some ( t) ,
94
94
None => {
@@ -106,7 +106,7 @@ const fn coerce<'a, T>(
106
106
/// Coerce an expression to an array. The coercion function is used to coerce the array elements.
107
107
pub fn coerce_array < ' a , T > (
108
108
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 > ,
110
110
diagnostics : & mut Diagnostics ,
111
111
) -> Option < Vec < T > > {
112
112
let mut out = Vec :: new ( ) ;
Original file line number Diff line number Diff line change 1
1
[toolchain ]
2
- channel = " 1.89 .0"
2
+ channel = " 1.90 .0"
3
3
components = [" clippy" , " rustfmt" , " rust-src" ]
4
4
targets = [
5
5
# WASM target for serverless and edge environments.
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ struct ConnectorErrorImpl {
28
28
/// Additional context.
29
29
message : Option < Box < str > > ,
30
30
/// The source of the error.
31
- source : Option < Arc < ( dyn StdError + Send + Sync + ' static ) > > ,
31
+ source : Option < Arc < dyn StdError + Send + Sync + ' static > > ,
32
32
/// See the tracing-error docs.
33
33
context : SpanTrace ,
34
34
}
Original file line number Diff line number Diff line change @@ -653,7 +653,7 @@ impl<'a> SqlSchemaDescriber<'a> {
653
653
654
654
let rows = self . conn . query_raw ( sql, & [ Value :: array ( namespaces) ] ) . await ?;
655
655
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" ) ) ;
657
657
658
658
for namespace in names {
659
659
sql_schema. push_namespace ( namespace) ;
You can’t perform that action at this time.
0 commit comments