Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuichiueda committed Jan 20, 2024
1 parent 2a2d2c4 commit 5c267a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/elements/word.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ impl Word {
ans.text += &sw.get_text();
ans.subwords.push(sw);
}

if ans.text.len() == 0 {
None
}else{
Some(ans)
Some(ans)
}
}
}

0 comments on commit 5c267a8

Please sign in to comment.