Skip to content

Commit af7a0b3

Browse files
committed
fix clippy warning
1 parent bfe98e6 commit af7a0b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/duckdb/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,7 @@ impl Connection {
542542
///
543543
/// Will return `Err` if the underlying DuckDB call fails.
544544
#[inline]
545+
#[allow(clippy::result_large_err)]
545546
pub fn close(self) -> Result<(), (Connection, Error)> {
546547
let r = self.db.borrow_mut().close();
547548
r.map_err(move |err| (self, err))

0 commit comments

Comments
 (0)