mirror of
https://github.com/davegallant/rfd-notify.git
synced 2025-08-06 00:33: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) {
|
pub fn insert(hash: &str, config: sled::Config) {
|
||||||
let tree = config.open().unwrap();
|
let tree = config.open().unwrap();
|
||||||
let result = tree.insert(&hash, "");
|
let result = tree.insert(hash, "");
|
||||||
if result.is_err() {
|
if result.is_err() {
|
||||||
error!("{:?}", &result);
|
error!("{:?}", &result);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user