Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuichiueda committed Oct 22, 2024
1 parent 7a63304 commit f77afe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/elements/word.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ impl Word {
.collect()
}

pub fn make_unquoted_word(&mut self) -> Option<String> {
fn make_unquoted_word(&mut self) -> Option<String> {
let sw: Vec<Option<String>> = self.subwords.iter_mut()
.map(|s| s.make_unquoted_string()) //""や''はNoneにならずに空文字として残る
.filter(|s| *s != None)
Expand Down

0 comments on commit f77afe0

Please sign in to comment.