Skip to content

Commit

Permalink
include U+0000 in comment (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
correabuscar committed Jun 6, 2024
1 parent 450571a commit de1846a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ fn single_char_width(c: char, is_cjk: bool) -> Option<usize> {
// U+0020 to U+007F (exclusive) are single-width ASCII codepoints
Some(1)
} else {
// U+0001 to U+0020 (exclusive) are control codes
// U+0000 to U+0020 (exclusive) are control codes
None
}
} else if c >= '\u{A0}' {
Expand Down

0 comments on commit de1846a

Please sign in to comment.