From 1ba489e5ee914224e81cfa100fb2aca53db76eac Mon Sep 17 00:00:00 2001 From: Fleeym <61891787+Fleeym@users.noreply.github.com> Date: Thu, 13 Jun 2024 00:32:27 +0300 Subject: [PATCH] fix formatting issues --- src/info.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/info.rs b/src/info.rs index d6d899e..1bc9c4b 100644 --- a/src/info.rs +++ b/src/info.rs @@ -193,9 +193,11 @@ pub fn subcommand(config: &mut Config, cmd: Info) { }; }; - config - .profiles - .push(RefCell::new(Profile::new(name.trim().into(), path, platform.to_string()))); + config.profiles.push(RefCell::new(Profile::new( + name.trim().into(), + path, + platform.to_string(), + ))); config.current_profile = Some(name.trim().into()); done!("Profile added"); }