Skip to content

Commit ba39e2f

Browse files
committed
more example fixes
1 parent a9f371f commit ba39e2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tokio-postgres/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
//! # Example
44
//!
55
//! ```no_run
6-
//! use tokio_postgres::{NoTls, Error, Row};
6+
//! use tokio_postgres::{NoTls, Error};
77
//!
88
//! # #[cfg(not(feature = "runtime"))] fn main() {}
99
//! # #[cfg(feature = "runtime")]
1010
//! #[tokio::main] // By default, tokio_postgres uses the tokio crate as its runtime.
1111
//! async fn main() -> Result<(), Error> {
1212
//! // Connect to the database.
13-
//! let (mut client, connection) =
13+
//! let (client, connection) =
1414
//! tokio_postgres::connect("host=localhost user=postgres", NoTls).await?;
1515
//!
1616
//! // The connection object performs the actual communication with the database,

0 commit comments

Comments
 (0)