From b974d2bb369bde137eb9c8f77f2f412eef758b6b Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Mon, 13 Jan 2025 11:36:27 +0100 Subject: [PATCH] fix warnings --- src/fetch/collection_id.rs | 2 +- src/fetch/object_id.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fetch/collection_id.rs b/src/fetch/collection_id.rs index 8c796f4..6aa9881 100644 --- a/src/fetch/collection_id.rs +++ b/src/fetch/collection_id.rs @@ -104,7 +104,7 @@ where } #[cfg(feature = "diesel")] -const _IMPL_DIESEL_NEW_TYPE_FOR_COLLECTION_ID: () = { +const _: () = { use diesel::{ backend::Backend, deserialize::{FromSql, FromStaticSqlRow}, diff --git a/src/fetch/object_id.rs b/src/fetch/object_id.rs index b6aafc6..136ec38 100644 --- a/src/fetch/object_id.rs +++ b/src/fetch/object_id.rs @@ -272,7 +272,7 @@ where } #[cfg(feature = "diesel")] -const _IMPL_DIESEL_NEW_TYPE_FOR_OBJECT_ID: () = { +const _: () = { use diesel::{ backend::Backend, deserialize::{FromSql, FromStaticSqlRow},