From 8050cfcd70a16273cc2814fe29c8ee08320d85d3 Mon Sep 17 00:00:00 2001 From: fxqnlr Date: Thu, 20 Apr 2023 15:13:58 +0200 Subject: cargo fmt --- src/lib.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 9db907d..43f0fe7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,20 +1,20 @@ pub mod apis; -pub mod config; pub mod commands; +pub mod config; pub mod db; pub mod error; pub mod files; -use std::{path::Path, fmt::Display}; +use std::{fmt::Display, path::Path}; pub use apis::*; pub use commands::*; -use error::{MLE, ErrorType, MLError}; +use error::{ErrorType, MLError, MLE}; #[derive(Debug, Clone, PartialEq, Eq)] pub enum Modloader { Fabric, - Forge + Forge, } impl Modloader { @@ -22,7 +22,7 @@ impl Modloader { match string { "forge" => Ok(Modloader::Forge), "fabric" => Ok(Modloader::Fabric), - _ => Err(MLError::new(ErrorType::ArgumentError, "UNKNOWN_MODLOADER")) + _ => Err(MLError::new(ErrorType::ArgumentError, "UNKNOWN_MODLOADER")), } } } -- cgit v1.2.3