Skip to content

Commit e362feb

Browse files
committed
Suppress warnings
1 parent 9a7e5b7 commit e362feb

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ impl IntoConnectParams for PostgresConnectParams {
203203
}
204204

205205
impl<'a> IntoConnectParams for &'a str {
206+
#[allow(deprecated)]
206207
fn into_connect_params(self) -> Result<PostgresConnectParams, PostgresConnectError> {
207208
match Url::parse(self) {
208209
Ok(url) => url.into_connect_params(),

src/types/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ macro_rules! make_postgres_type(
107107
}
108108
}
109109

110+
/*
110111
fn member_type(&self) -> PostgresType {
111112
match *self {
112113
$(
@@ -115,6 +116,7 @@ macro_rules! make_postgres_type(
115116
_ => unreachable!()
116117
}
117118
}
119+
*/
118120
}
119121
)
120122
)

0 commit comments

Comments
 (0)