From 2d7e0a2fbf1c8a4187e2bf3fdcd592631ab273a0 Mon Sep 17 00:00:00 2001 From: fxqnlr Date: Fri, 26 May 2023 17:40:27 +0200 Subject: added full progress? cargo fmt --- src/config.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/config.rs') diff --git a/src/config.rs b/src/config.rs index 54cf768..3858484 100644 --- a/src/config.rs +++ b/src/config.rs @@ -7,7 +7,7 @@ use std::{ use indicatif::{ProgressBar, ProgressStyle}; use serde::{Deserialize, Serialize}; -use crate::{db::db_setup, error::MLE, Modloader, VersionLevel, check_game_versions}; +use crate::{check_game_versions, db::db_setup, error::MLE, Modloader, VersionLevel}; #[derive(Debug, Clone, Serialize, Deserialize)] pub struct Cfg { @@ -72,7 +72,7 @@ impl Cfg { Err(..) => { create_versions_dummy(&versionfile).await?; check_game_versions(&versionfile, true).await?; - }, + } } Ok(config) @@ -95,7 +95,7 @@ fn create_config(path: &str) -> MLE<()> { versions: cache_dir, defaults: Defaults { modloader: Modloader::Fabric, - version: VersionLevel::Release + version: VersionLevel::Release, }, apis: Apis { modrinth: String::from("https://api.modrinth.com/v2/"), -- cgit v1.2.3