Skip to content

Commit 8c56ecc

Browse files
committed
Remove useless conversion
1 parent f37341f commit 8c56ecc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

crates/duckdb/src/vscalar/arrow.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,7 @@ where
105105
.into_iter()
106106
.map(|sig| ScalarFunctionSignature {
107107
parameters: sig.parameters.map(Into::into),
108-
return_type: to_duckdb_logical_type(&sig.return_type)
109-
.expect("type should be converted")
110-
.into(),
108+
return_type: to_duckdb_logical_type(&sig.return_type).expect("type should be converted"),
111109
})
112110
.collect()
113111
}

0 commit comments

Comments
 (0)