8000 fix CI failure (#59) · djc/unicode-width@450571a · GitHub
[go: up one dir, main page]

Skip to content

Commit 450571a

Browse files
authored
fix CI failure (unicode-rs#59)
this failure: https://github.com/unicode-rs/unicode-width/actions/runs/9369551827/job/25794342788 `src/tables.rs: needs update` due to a change made in PR unicode-rs#54
1 parent 612877a commit 450571a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/unicode.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,8 @@ def emit_module(
585585
module.write(
586586
"""
587587
pub mod charwidth {
588+
use core::convert::TryFrom;
589+
588590
/// Returns the [UAX #11](https://www.unicode.org/reports/tr11/) based width of `c` by
589591
/// consulting a multi-level lookup table.
590592
/// If `is_cjk == true`, ambiguous width characters are treated as double width; otherwise,

0 commit comments

Comments
 (0)
0