Remove cognitive complexity clippy lint (#4010)

This commit is contained in:
Jack Amadeo
2025-08-11 20:24:37 -04:00
committed by GitHub
parent c2859fd49b
commit dd504741a3
3 changed files with 0 additions and 69 deletions
-1
View File
@@ -64,7 +64,6 @@ fn check_context_length_exceeded(text: &str) -> bool {
.any(|phrase| text_lower.contains(phrase))
}
#[allow(clippy::cognitive_complexity)]
pub fn map_http_error_to_provider_error(
status: StatusCode,
payload: Option<Value>,