From 3d7a8d0ba1c4d3d7cb34a9999bd6a6da44f102ac Mon Sep 17 00:00:00 2001 From: mateo-berri <277851410+mateo-berri@users.noreply.github.com> Date: Wed, 28 Oct 2026 04:49:50 -0700 Subject: [PATCH] style(rust): rewrap beta map test line with cargo fmt --- .../crates/llms-types/src/providers/anthropic/beta.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litellm-rust/crates/llms-types/src/providers/anthropic/beta.rs b/litellm-rust/crates/llms-types/src/providers/anthropic/beta.rs index 921f083fbd6..8acd6a9b48c 100644 --- a/litellm-rust/crates/llms-types/src/providers/anthropic/beta.rs +++ b/litellm-rust/crates/llms-types/src/providers/anthropic/beta.rs @@ -520,8 +520,8 @@ mod tests { .and_then(serde_json::Value::as_str) .map(str::to_string) }; - let expected = cell(&format!("{provider}_header_only")) - .or_else(|| cell(provider.as_ref())); + let expected = + cell(&format!("{provider}_header_only")).or_else(|| cell(provider.as_ref())); let actual = beta.on(*provider).map(|name| name.to_string()); assert_eq!(actual, expected, "provider {provider}, beta {beta}"); if matches!(beta, AnthropicBeta::AdvancedToolUse20251120)