Skip to content

Commit de1846a

Browse files
authored
include U+0000 in comment (#58)
1 parent 450571a commit de1846a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ fn single_char_width(c: char, is_cjk: bool) -> Option<usize> {
158158
// U+0020 to U+007F (exclusive) are single-width ASCII codepoints
159159
Some(1)
160160
} else {
161-
// U+0001 to U+0020 (exclusive) are control codes
161+
// U+0000 to U+0020 (exclusive) are control codes
162162
None
163163
}
164164
} else if c >= '\u{A0}' {

0 commit comments

Comments
 (0)