Skip to content

Commit 2a2a562

Browse files
authored
Fix Rust 1.85 clippy error (#443)
1 parent 6d53680 commit 2a2a562

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/duckdb/src/r2d2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ impl r2d2::ManageConnection for DuckdbConnectionManager {
115115
}
116116

117117
fn is_valid(&self, conn: &mut Self::Connection) -> Result<(), Self::Error> {
118-
conn.execute_batch("").map_err(Into::into)
118+
conn.execute_batch("")
119119
}
120120

121121
fn has_broken(&self, _: &mut Self::Connection) -> bool {

0 commit comments

Comments
 (0)