mirror of
https://github.com/davegallant/rfd-notify.git
synced 2025-08-05 16:23:39 +00:00
Fix for cargo clippy
This commit is contained in:
@@ -19,7 +19,7 @@ pub fn hash_exists(hash: &str, config: sled::Config) -> bool {
|
||||
|
||||
pub fn insert(hash: &str, config: sled::Config) {
|
||||
let tree = config.open().unwrap();
|
||||
let result = tree.insert(&hash, "");
|
||||
let result = tree.insert(hash, "");
|
||||
if result.is_err() {
|
||||
error!("{:?}", &result);
|
||||
}
|
||||
|
Reference in New Issue
Block a user