Skip to content

Commit

Permalink
Update mspy_udl.go
Browse files Browse the repository at this point in the history
  • Loading branch information
nopdan authored May 10, 2024
1 parent b946866 commit 0148b82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/pinyin/mspy_udl.go
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ func (f *MspyUDL) Unmarshal(r *bytes.Reader) []*Entry {
}

func (f *MspyUDL) Marshal(di []*Entry) []byte {
slices.DeleteFunc(di, func(v *Entry) bool {
di = slices.DeleteFunc(di, func(v *Entry) bool {
for _, r := range v.Word {
if !unicode.Is(unicode.Han, r) {
return true
Expand Down

0 comments on commit 0148b82

Please sign in to comment.