Fix clippy in boundary.rs
This commit is contained in:
parent
85f3e16755
commit
e45dafb253
1 changed files with 1 additions and 1 deletions
|
@ -340,7 +340,7 @@ impl FuzzyBoundary {
|
||||||
Self::Paragraph.is_near_potential_end(left, right, classifier)
|
Self::Paragraph.is_near_potential_end(left, right, classifier)
|
||||||
{
|
{
|
||||||
return Some(find_paragraph_end);
|
return Some(find_paragraph_end);
|
||||||
} else if !is_sentence_end(left, right, &classifier) {
|
} else if !is_sentence_end(left, right, classifier) {
|
||||||
return None;
|
return None;
|
||||||
}
|
}
|
||||||
Some(Box::new(|identifier, _| Some(identifier)))
|
Some(Box::new(|identifier, _| Some(identifier)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue