style: apply prettier and rustfmt

No behavior changes. Brings three files back in line with the project
formatters (CI runs `pnpm format:check` and `cargo fmt --check`).
This commit is contained in:
Jason
2026-04-20 12:19:13 +08:00
parent 08727528aa
commit 111ddf8d73
2 changed files with 2 additions and 6 deletions
+1 -3
View File
@@ -553,9 +553,7 @@ fn normalize_providers_dict_entry(
}
/// Collect provider entries living under the v12+ `providers:` dict.
fn read_providers_dict_entries(
config: &serde_yaml::Value,
) -> Vec<(String, serde_json::Value)> {
fn read_providers_dict_entries(config: &serde_yaml::Value) -> Vec<(String, serde_json::Value)> {
let Some(mapping) = config.get("providers").and_then(|v| v.as_mapping()) else {
return Vec::new();
};