From 3b82122acd576e800378f66e5bfeaf04d805523e Mon Sep 17 00:00:00 2001 From: Krasimir Georgiev Date: Tue, 4 Jun 2024 12:05:25 +0000 Subject: [PATCH] adapt for rustc-dep-of-std build --- src/tables.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tables.rs b/src/tables.rs index 9ff3792..0d05294 100644 --- a/src/tables.rs +++ b/src/tables.rs @@ -15,6 +15,8 @@ pub const UNICODE_VERSION: (u8, u8, u8) = (15, 1, 0); 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, 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