no deprecated code
This commit is contained in:
parent
9ffdadfc8d
commit
5b287e0686
2 changed files with 2 additions and 4 deletions
|
|
@ -152,8 +152,7 @@ const _IMPL_DIESEL_NEW_TYPE_FOR_COLLECTION_ID: () = {
|
|||
{
|
||||
type Expression = Bound<ST, String>;
|
||||
fn as_expression(self) -> Self::Expression {
|
||||
// TODO: deprecated in favor of `.into()` but that fails to compile
|
||||
Bound::new(self.0.into_string())
|
||||
Bound::new(self.0.to_string())
|
||||
}
|
||||
}
|
||||
impl<Kind, ST, DB> FromSql<ST, DB> for CollectionId<Kind>
|
||||
|
|
|
|||
|
|
@ -302,8 +302,7 @@ const _IMPL_DIESEL_NEW_TYPE_FOR_OBJECT_ID: () = {
|
|||
{
|
||||
type Expression = Bound<ST, String>;
|
||||
fn as_expression(self) -> Self::Expression {
|
||||
// TODO: deprecated in favor of `.into()` but that fails to compile
|
||||
Bound::new(self.0.into_string())
|
||||
Bound::new(self.0.to_string())
|
||||
}
|
||||
}
|
||||
impl<Kind, ST, DB> FromSql<ST, DB> for ObjectId<Kind>
|
||||
|
|
|
|||
Loading…
Reference in a new issue