mirror of
https://github.com/instant-labs/instant-segment.git
synced 2025-02-16 13:02:10 +00:00
Apply clippy suggestion
This commit is contained in:
parent
a862ec97a5
commit
da26dedfc8
@ -62,7 +62,8 @@ impl Segmenter {
|
||||
out: &mut Vec<String>,
|
||||
search: &mut Search,
|
||||
) -> Result<(), InvalidCharacter> {
|
||||
Ok(SegmentState::new(Ascii::new(text)?, &self, out, search).run())
|
||||
SegmentState::new(Ascii::new(text)?, &self, out, search).run();
|
||||
Ok(())
|
||||
}
|
||||
|
||||
fn score(&self, word: &str, previous: Option<&str>) -> f64 {
|
||||
|
Loading…
Reference in New Issue
Block a user