Skip to content

Commit

Permalink
Merge pull request #1809 from tursodatabase/lucio/debug-connection
Browse files Browse the repository at this point in the history
libsql: impl debug for Connection
  • Loading branch information
LucioFranco authored Nov 11, 2024
2 parents 246667c + 55c2a8d commit 65d4b19
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libsql/src/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -245,3 +245,9 @@ impl Connection {
self.conn.load_extension(dylib_path.as_ref(), entry_point)
}
}

impl fmt::Debug for Connection {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.debug_struct("Connection").finish()
}
}

0 comments on commit 65d4b19

Please sign in to comment.