We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9f371f commit ba39e2fCopy full SHA for ba39e2f
tokio-postgres/src/lib.rs
@@ -3,14 +3,14 @@
3
//! # Example
4
//!
5
//! ```no_run
6
-//! use tokio_postgres::{NoTls, Error, Row};
+//! use tokio_postgres::{NoTls, Error};
7
8
//! # #[cfg(not(feature = "runtime"))] fn main() {}
9
//! # #[cfg(feature = "runtime")]
10
//! #[tokio::main] // By default, tokio_postgres uses the tokio crate as its runtime.
11
//! async fn main() -> Result<(), Error> {
12
//! // Connect to the database.
13
-//! let (mut client, connection) =
+//! let (client, connection) =
14
//! tokio_postgres::connect("host=localhost user=postgres", NoTls).await?;
15
16
//! // The connection object performs the actual communication with the database,
0 commit comments