chore: pedantic clippy stuff

This commit is contained in:
Per Stark
2025-01-10 20:47:18 +01:00
parent 7ad8e694c6
commit 8b44a720a1
3 changed files with 3 additions and 14 deletions

View File

@@ -186,7 +186,7 @@ impl IngressObject {
let content = if token_count > MAX_TOKENS {
// Split content into structural blocks
let blocks: Vec<&str> = content.split(|c| c == '\n').collect();
let blocks: Vec<&str> = content.split('\n').collect();
let mut truncated = String::new();
let mut current_tokens = 0;