build(deps): bump diesel from 2.0.3 to 2.1.0 (#1287)

This commit is contained in:
Sanchith Hegde
2023-05-29 13:57:27 +05:30
committed by GitHub
parent 597ec16907
commit b9ec38a1b5
14 changed files with 478 additions and 264 deletions

View File

@ -117,7 +117,7 @@ mod diesel_impl {
DB: Backend,
String: FromSql<Text, DB>,
{
fn from_sql(bytes: diesel::backend::RawValue<'_, DB>) -> diesel::deserialize::Result<Self> {
fn from_sql(bytes: DB::RawValue<'_>) -> diesel::deserialize::Result<Self> {
Ok(Self(String::from_sql(bytes)?))
}
}