From be4b1e197f8f8e687b13bb29b80742ee0890a51d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 19 Aug 2024 13:13:50 +0000 Subject: [PATCH] Format Rust code using rustfmt --- src/config.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index 9d19add..ca959f2 100644 --- a/src/config.rs +++ b/src/config.rs @@ -54,7 +54,8 @@ impl CloudManagerConfig { /// /// * `path` - String slice that holds the path to the JSON config file pub fn from_file(path: &str) -> Self { - let data = fs::read_to_string(path).unwrap_or_else(|_| panic!("Unable to find config at path {}", path)); + let data = fs::read_to_string(path) + .unwrap_or_else(|_| panic!("Unable to find config at path {}", path)); let config: Self = serde_json::from_str(data.as_str()).expect("Invalid JSON format"); config }