From 9b64e7936a0b6099785c62553e576ba4a2a3a87b Mon Sep 17 00:00:00 2001 From: Martin Clauss Date: Sat, 9 Mar 2024 19:51:50 +0100 Subject: [PATCH] Fix warnings --- packages/isar_core/src/lib.rs | 1 - packages/isar_core/src/sqlite/sqlite_collection.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/isar_core/src/lib.rs b/packages/isar_core/src/lib.rs index 64773b3b3..72a13b327 100644 --- a/packages/isar_core/src/lib.rs +++ b/packages/isar_core/src/lib.rs @@ -1,6 +1,5 @@ #![allow(clippy::new_without_default)] #![feature(float_next_up_down)] -#![feature(return_position_impl_trait_in_trait)] #![feature(lazy_cell)] #[cfg(not(target_endian = "little"))] diff --git a/packages/isar_core/src/sqlite/sqlite_collection.rs b/packages/isar_core/src/sqlite/sqlite_collection.rs index b83310098..31f3209e8 100644 --- a/packages/isar_core/src/sqlite/sqlite_collection.rs +++ b/packages/isar_core/src/sqlite/sqlite_collection.rs @@ -17,7 +17,7 @@ pub(crate) struct SQLiteProperty { } impl SQLiteProperty { - pub const ID_NAME: &str = "_rowid_"; + pub const ID_NAME: &'static str = "_rowid_"; pub fn new(name: &str, data_type: DataType, collection_index: Option) -> Self { SQLiteProperty {