Skip to content

Commit 3c85532

Browse files
committed
Fix docs
1 parent 584aca4 commit 3c85532

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

postgres/src/lib.rs

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,9 @@
3636
//!
3737
//! # Implementation
3838
//!
39-
//! This crate is a lightweight wrapper over tokio-postgres. The `tokio_postgres::Connection` is spawned onto an
40-
//! executor, and the `tokio_postgres::Client` is wrapped in the `postgres::Client`, which simply waits on the futures
41-
//! the nonblocking client creates.
42-
//!
43-
//! # Runtime
44-
//!
45-
//! A client can be constructed directly from a `tokio-postgres` client via a `From` implementation, but the `runtime`
46-
//! Cargo feature (enabled by default) provides a more convenient interface. By default, connections will be spawned
47-
//! onto a static tokio `Runtime`, but a custom `Executor` can also be used instead.
39+
//! This crate is a lightweight wrapper over tokio-postgres. The `postgres::Client` is simply a wrapper around a
40+
//! `tokio_postgres::Client` along side a tokio `Runtime`. The client simply blocks on the futures provided by the async
41+
//! client.
4842
//!
4943
//! # SSL/TLS support
5044
//!

0 commit comments

Comments
 (0)