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

Commit3b82122

Browse files
committed
adapt for rustc-dep-of-std build
1 parentd00d357 commit3b82122

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/tables.rs‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
pubconstUNICODE_VERSION:(u8,u8,u8) =(15,1,0);
1616

1717
pubmod charwidth{
18+
use core::convert::TryFrom;
19+
1820
/// Returns the [UAX #11](https://www.unicode.org/reports/tr11/) based width of `c` by
1921
/// consulting a multi-level lookup table.
2022
/// If `is_cjk == true`, ambiguous width characters are treated as double width; otherwise,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp