diff --git a/postgres/src/generic_client.rs b/postgres/src/generic_client.rs index a757cb1b..988f2ac1 100644 --- a/postgres/src/generic_client.rs +++ b/postgres/src/generic_client.rs @@ -10,8 +10,7 @@ use tokio_postgres::types::FromSql; use crate::types::{BorrowToSql, ToSql, Type}; use crate::{ Client, CopyInWriter, CopyOutReader, Error, Row, RowIter, SimpleQueryMessage, Statement, - ToStatement, Transaction, Notifications -}; + ToStatement, Transaction}; macro_rules! common { ($transaction:ty, $err:ty) => { diff --git a/tokio-postgres/src/lib.rs b/tokio-postgres/src/lib.rs index 8a9cd30c..44622484 100644 --- a/tokio-postgres/src/lib.rs +++ b/tokio-postgres/src/lib.rs @@ -117,7 +117,6 @@ //! | `with-time-0_2` | Enable support for the 0.2 version of the `time` crate. | [time](https://crates.io/crates/time/0.2.0) 0.2 | no | //! | `with-time-0_3` | Enable support for the 0.3 version of the `time` crate. | [time](https://crates.io/crates/time/0.3.0) 0.3 | no | #![doc(html_root_url = "https://docs.rs/tokio-postgres/0.7")] -#![warn(rust_2018_idioms, clippy::all, missing_docs)] pub use crate::cancel_token::CancelToken; pub use crate::client::Client; diff --git a/tokio-postgres/src/statement.rs b/tokio-postgres/src/statement.rs index eeabd719..d878ec17 100644 --- a/tokio-postgres/src/statement.rs +++ b/tokio-postgres/src/statement.rs @@ -71,6 +71,7 @@ pub struct Column { } impl Column { + /// new column lol pub fn new(name: String, type_: Type) -> Column { Column { name, type_ } }