Fix clippy in boundary.rs

This commit is contained in:
fantacell 2025-08-19 17:40:20 +02:00
parent 85f3e16755
commit e45dafb253

View file

@ -340,7 +340,7 @@ impl FuzzyBoundary {
Self::Paragraph.is_near_potential_end(left, right, classifier)
{
return Some(find_paragraph_end);
} else if !is_sentence_end(left, right, &classifier) {
} else if !is_sentence_end(left, right, classifier) {
return None;
}
Some(Box::new(|identifier, _| Some(identifier)))