summaryrefslogtreecommitdiff
path: root/src/db.rs
diff options
context:
space:
mode:
authorfxqnlr <[email protected]>2023-01-11 17:31:17 +0100
committerfxqnlr <[email protected]>2023-01-11 17:31:17 +0100
commitfad32c31b59001bed46fa860fbc3a994d278e700 (patch)
tree4793c6bdd3429275463bd9c75ce0648b9733fd85 /src/db.rs
parent92bda65a9983e60036b3d49333e9bfe9bcd0543f (diff)
downloadmodlist-fad32c31b59001bed46fa860fbc3a994d278e700.tar
modlist-fad32c31b59001bed46fa860fbc3a994d278e700.tar.gz
modlist-fad32c31b59001bed46fa860fbc3a994d278e700.zip
cargo update, minor error impls
Diffstat (limited to 'src/db.rs')
-rw-r--r--src/db.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db.rs b/src/db.rs
index c5a972f..06c2459 100644
--- a/src/db.rs
+++ b/src/db.rs
@@ -361,7 +361,7 @@ pub fn lists_insert(config: Cfg, id: String, mc_version: String, mod_loader: Mod
361 Ok(()) 361 Ok(())
362} 362}
363 363
364pub fn lists_remove(config: Cfg, id: String) -> Result<(), Box<dyn std::error::Error>> { 364pub fn lists_remove(config: Cfg, id: String) -> MLE<()> {
365 let data = devdir(format!("{}/data.db", config.data).as_str()); 365 let data = devdir(format!("{}/data.db", config.data).as_str());
366 let connection = Connection::open(data)?; 366 let connection = Connection::open(data)?;
367 367