From 6cf330cfa7e78d47401dc8a66704d34aaf9dfddf Mon Sep 17 00:00:00 2001 From: djkato Date: Mon, 15 Jul 2024 16:02:44 +0200 Subject: [PATCH] clippy --- sdk/src/apl/file_apl.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/src/apl/file_apl.rs b/sdk/src/apl/file_apl.rs index bac9cdf..d07a855 100644 --- a/sdk/src/apl/file_apl.rs +++ b/sdk/src/apl/file_apl.rs @@ -27,7 +27,7 @@ impl APL for FileApl { let mut auths: FileStructure; match path.is_file() { true => auths = serde_json::from_str(&std::fs::read_to_string(path)?)?, - false => auths = FileStructure { 0: HashMap::new() }, + false => auths = FileStructure(HashMap::new()), } auths.insert(auth_data.saleor_api_url.clone(), auth_data);