From 9af8b322a7dd3e03d30869ca10303ffacd298052 Mon Sep 17 00:00:00 2001 From: Emanuel Czirai Date: Thu, 6 Jun 2024 06:51:24 +0200 Subject: [PATCH] fix CI failure 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 --- scripts/unicode.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/unicode.py b/scripts/unicode.py index 1da9036..c7e52ba 100755 --- a/scripts/unicode.py +++ b/scripts/unicode.py @@ -585,6 +585,8 @@ def emit_module( module.write( """ pub mod charwidth { + use core::convert::TryFrom; + /// Returns the [UAX #11](https://www.unicode.org/reports/tr11/) based width of `c` by /// consulting a multi-level lookup table. /// If `is_cjk == true`, ambiguous width characters are treated as double width; otherwise,