From 7d63647f165f76e3fffdea8c76da5bfff863f070 Mon Sep 17 00:00:00 2001 From: Alex Clarke Date: Fri, 12 Sep 2025 11:52:08 -0600 Subject: [PATCH] style: Addressed formatting issues --- src/config.rs | 4 ++-- tests/config_tests.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/config.rs b/src/config.rs index c38384f..f3f4f81 100644 --- a/src/config.rs +++ b/src/config.rs @@ -25,7 +25,7 @@ use anyhow::Result; use log::debug; use serde::{Deserialize, Serialize}; use serde_with::serde_as; -use serde_with::{skip_serializing_none, DisplayFromStr}; +use serde_with::{DisplayFromStr, skip_serializing_none}; use std::borrow::Cow; use std::path::PathBuf; use validator::{Validate, ValidationError}; @@ -116,7 +116,7 @@ pub struct ProviderConfig { #[validate(required)] pub name: Option, #[serde_as(as = "DisplayFromStr")] - #[serde(rename(deserialize = "type"))] + #[serde(rename(deserialize = "type"))] pub provider_type: SupportedProvider, pub password_file: Option, pub git_branch: Option, diff --git a/tests/config_tests.rs b/tests/config_tests.rs index daefb53..e79cad1 100644 --- a/tests/config_tests.rs +++ b/tests/config_tests.rs @@ -1,8 +1,8 @@ #[cfg(test)] mod tests { use gman::config::{Config, ProviderConfig, RunConfig}; - use gman::providers::local::LocalProvider; use gman::providers::SupportedProvider; + use gman::providers::local::LocalProvider; use pretty_assertions::assert_eq; use validator::Validate;