Skip to content
This repository has been archived by the owner on Apr 27, 2024. It is now read-only.

Commit

Permalink
docs: add note about references in client
Browse files Browse the repository at this point in the history
  • Loading branch information
gadomski committed Sep 20, 2023
1 parent 3a88c7b commit 63dc561
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ use tokio_postgres::{
///
/// Not every **pgstac** function is provided, and some names are changed to
/// match Rust conventions.
///
/// We don't own the inner client because we want to be able to work with
/// references, e.g. those returned by
/// [bb8_postgres](https://github.com/djc/bb8).
#[derive(Debug)]
pub struct Client<'a, C>(&'a C)
where
Expand Down

0 comments on commit 63dc561

Please sign in to comment.