Skip to content

Commit 65d4b19

Browse files
authored
Merge pull request #1809 from tursodatabase/lucio/debug-connection
libsql: impl debug for Connection
2 parents 246667c + 55c2a8d commit 65d4b19

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

libsql/src/connection.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,3 +245,9 @@ impl Connection {
245245
self.conn.load_extension(dylib_path.as_ref(), entry_point)
246246
}
247247
}
248+
249+
impl fmt::Debug for Connection {
250+
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
251+
f.debug_struct("Connection").finish()
252+
}
253+
}

0 commit comments

Comments
 (0)