mirror of
https://github.com/house-of-vanity/mystem-rs.git
synced 2025-07-06 21:24:07 +00:00
Fix mystem stdin feed.
This commit is contained in:
@ -23,11 +23,10 @@ fn main() -> Result<(), mystem::AppError> {
|
||||
}
|
||||
},
|
||||
{
|
||||
match stem.lex.len()
|
||||
{
|
||||
0|1 => "".to_string(),
|
||||
match stem.lex.len() {
|
||||
0 | 1 => "".to_string(),
|
||||
x if x > 1 => format!(" Also has {} found lexems.", x),
|
||||
_ => unreachable!()
|
||||
_ => unreachable!(),
|
||||
}
|
||||
}
|
||||
)
|
||||
|
Reference in New Issue
Block a user