Fix warnings

This commit is contained in:
gwenn 2019-08-09 20:06:31 +02:00
parent e4fecf7fb8
commit dcc43fa445

View File

@ -167,11 +167,11 @@ impl From<FromSqlError> for Error {
match err { match err {
FromSqlError::OutOfRange(val) => Error::IntegralValueOutOfRange(UNKNOWN_COLUMN, val), FromSqlError::OutOfRange(val) => Error::IntegralValueOutOfRange(UNKNOWN_COLUMN, val),
#[cfg(feature = "i128_blob")] #[cfg(feature = "i128_blob")]
FromSqlError::InvalidI128Size(s) => { FromSqlError::InvalidI128Size(_) => {
Error::FromSqlConversionFailure(UNKNOWN_COLUMN, Type::Blob, Box::new(err)) Error::FromSqlConversionFailure(UNKNOWN_COLUMN, Type::Blob, Box::new(err))
} }
#[cfg(feature = "uuid")] #[cfg(feature = "uuid")]
FromSqlError::InvalidUuidSize(s) => { FromSqlError::InvalidUuidSize(_) => {
Error::FromSqlConversionFailure(UNKNOWN_COLUMN, Type::Blob, Box::new(err)) Error::FromSqlConversionFailure(UNKNOWN_COLUMN, Type::Blob, Box::new(err))
} }
FromSqlError::Other(source) => { FromSqlError::Other(source) => {