Skip to content

Commit 450571a

Browse files
authored
fix CI failure (#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 #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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy