fix: AAAAA

This commit is contained in:
orion 2023-07-28 17:09:51 -05:00
parent 0d8a63cdfc
commit 1bbe666003
Signed by: orion
GPG Key ID: 6D4165AE4C928719
3 changed files with 2 additions and 3 deletions

View File

@ -10,8 +10,7 @@ use tokio_postgres::types::FromSql;
use crate::types::{BorrowToSql, ToSql, Type}; use crate::types::{BorrowToSql, ToSql, Type};
use crate::{ use crate::{
Client, CopyInWriter, CopyOutReader, Error, Row, RowIter, SimpleQueryMessage, Statement, Client, CopyInWriter, CopyOutReader, Error, Row, RowIter, SimpleQueryMessage, Statement,
ToStatement, Transaction, Notifications ToStatement, Transaction};
};
macro_rules! common { macro_rules! common {
($transaction:ty, $err:ty) => { ($transaction:ty, $err:ty) => {

View File

@ -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_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 | //! | `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")] #![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::cancel_token::CancelToken;
pub use crate::client::Client; pub use crate::client::Client;

View File

@ -71,6 +71,7 @@ pub struct Column {
} }
impl Column { impl Column {
/// new column lol
pub fn new(name: String, type_: Type) -> Column { pub fn new(name: String, type_: Type) -> Column {
Column { name, type_ } Column { name, type_ }
} }