Skip to content

Commit

Permalink
Merge pull request #321 from jaseemabid/jabid/build-errors
Browse files Browse the repository at this point in the history
Fix build warnings treated as errors
  • Loading branch information
valeriansaliou committed Jun 13, 2024
2 parents 2a5293c + 033c15b commit 0d82700
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/store/fst.rs
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ impl StoreFSTPool {
);

// Proceed temporary FST to final FST path rename
if std::fs::rename(&bucket_tmp_path, &bucket_final_path).is_ok() {
if fs::rename(&bucket_tmp_path, &bucket_final_path).is_ok() {
info!("done consolidate fst at path: {:?}", bucket_final_path);
} else {
error!(
Expand Down
2 changes: 0 additions & 2 deletions src/store/generic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ use std::fmt::Display;
use std::sync::{Arc, RwLock};
use std::time::{Duration, SystemTime};

pub trait StoreGenericKey {}

pub trait StoreGeneric {
fn ref_last_used(&self) -> &RwLock<SystemTime>;
}
Expand Down

0 comments on commit 0d82700

Please sign in to comment.