We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 612877a commit 450571aCopy full SHA for 450571a
scripts/unicode.py
@@ -585,6 +585,8 @@ def emit_module(
585
module.write(
586
"""
587
pub mod charwidth {
588
+ use core::convert::TryFrom;
589
+
590
/// Returns the [UAX #11](https://www.unicode.org/reports/tr11/) based width of `c` by
591
/// consulting a multi-level lookup table.
592
/// If `is_cjk == true`, ambiguous width characters are treated as double width; otherwise,
0 commit comments