Suppress warnings
This commit is contained in:
@@ -203,6 +203,7 @@ impl IntoConnectParams for PostgresConnectParams {
|
||||
}
|
||||
|
||||
impl<'a> IntoConnectParams for &'a str {
|
||||
#[allow(deprecated)]
|
||||
fn into_connect_params(self) -> Result<PostgresConnectParams, PostgresConnectError> {
|
||||
match Url::parse(self) {
|
||||
Ok(url) => url.into_connect_params(),
|
||||
|
||||
@@ -107,6 +107,7 @@ macro_rules! make_postgres_type(
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
fn member_type(&self) -> PostgresType {
|
||||
match *self {
|
||||
$(
|
||||
@@ -115,6 +116,7 @@ macro_rules! make_postgres_type(
|
||||
_ => unreachable!()
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user