Skip to content

Commit

Permalink
Merge pull request #27 from isar-community/lint-rust
Browse files Browse the repository at this point in the history
Fix warnings
  • Loading branch information
mrclauss authored Mar 12, 2024
2 parents add1940 + 9b64e79 commit b4c5443
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion packages/isar_core/src/lib.rs
Original file line number Diff line number Diff line change
@@ -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"))]
Expand Down
2 changes: 1 addition & 1 deletion packages/isar_core/src/sqlite/sqlite_collection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<u16>) -> Self {
SQLiteProperty {
Expand Down

0 comments on commit b4c5443

Please sign in to comment.