diff options
author | fxqnlr <[email protected]> | 2023-01-11 17:31:17 +0100 |
---|---|---|
committer | fxqnlr <[email protected]> | 2023-01-11 17:31:17 +0100 |
commit | fad32c31b59001bed46fa860fbc3a994d278e700 (patch) | |
tree | 4793c6bdd3429275463bd9c75ce0648b9733fd85 /src/db.rs | |
parent | 92bda65a9983e60036b3d49333e9bfe9bcd0543f (diff) | |
download | modlist-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.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 | ||
364 | pub fn lists_remove(config: Cfg, id: String) -> Result<(), Box<dyn std::error::Error>> { | 364 | pub 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 | ||