fix: AAAAA
This commit is contained in:
parent
0d8a63cdfc
commit
1bbe666003
@ -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) => {
|
||||||
|
@ -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;
|
||||||
|
@ -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_ }
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user