mirror of
https://github.com/perstarkse/minne.git
synced 2026-04-20 16:01:22 +02:00
chore: pedantic clippy stuff
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user