Suppress warnings

This commit is contained in:
Steven Fackler
2014-09-11 21:35:10 -07:00
parent 9a7e5b7c7d
commit e362feb85b
2 changed files with 3 additions and 0 deletions

View File

@@ -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(),

View File

@@ -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!()
}
}
*/
}
)
)