Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitde1846a

Browse files
authored
include U+0000 in comment (#58)
1 parent450571a commitde1846a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/lib.rs‎

Lines changed: 1 addition & 1 deletion
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
}elseif c >='\u{A0}'{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp