Skip to content

Commit

Permalink
Remove warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Mubelotix committed Jun 1, 2024
1 parent b722b06 commit cf3cb75
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ daemon/admarus.mdb
/admarus-blog
/admarus.wiki
/scripts
*.mdb
2 changes: 1 addition & 1 deletion daemon/src/index/inner_common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ impl DocumentIndexInner {
continue;
}
let mut new_path = current_path.clone();
new_path.0 = ancestor.to_owned();
ancestor.clone_into(&mut new_path.0);
new_path.1.insert(0, name.to_owned());
current_paths.push(new_path);
}
Expand Down
12 changes: 6 additions & 6 deletions daemon/src/index/mod.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@


pub(self) use bimap::BiHashMap;
pub(self) use std::hash::{Hash, Hasher};
pub(self) use crate::prelude::*;
use bimap::BiHashMap;
use std::hash::{Hash, Hasher};
use crate::prelude::*;

pub(self) const REFRESH_INTERVAL: u64 = 100;
pub(self) const SWEEP_INTERVAL: u64 = 30;
const REFRESH_INTERVAL: u64 = 100;
const SWEEP_INTERVAL: u64 = 30;

mod index;
mod inner_common;
Expand All @@ -19,7 +19,7 @@ pub(self) use inner_db::*;
#[cfg(not(any(feature = "database-lmdb", feature = "database-mdbx")))]
mod inner_im;
#[cfg(not(any(feature = "database-lmdb", feature = "database-mdbx")))]
pub(self) use inner_im::*;
use inner_im::*;


#[derive(PartialEq, Eq, Clone, Copy, Debug)]
Expand Down
1 change: 0 additions & 1 deletion daemon/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(implied_bounds_entailment)]
#![allow(clippy::module_inception)]
#![recursion_limit = "256"]

Expand Down

0 comments on commit cf3cb75

Please sign in to comment.