refactor: remove useless prints

This commit is contained in:
Magamedrasul Ibragimov 2022-12-10 16:41:07 +03:00
parent 8c4abe6fa1
commit 3095ec2b73
2 changed files with 0 additions and 2 deletions

View File

@ -77,7 +77,6 @@ impl Database for MySled {
let db = sled::open(dbpath).unwrap();
if !db.was_recovered() {
println!("Hello world");
fs::remove_dir_all(dbpath).expect("Error removing db");
return Err(Error("Trying to load non-existing database!".to_string()));
}

View File

@ -20,7 +20,6 @@ impl Database for MySled {
let db = sled::open(dbpath).unwrap();
if !db.was_recovered() {
println!("Hello world");
fs::remove_dir_all(dbpath).expect("Error removing db");
return Err(Error("Trying to load non-existing database!".to_string()));
}