Skip to content

Commit

Permalink
Merge pull request #54 from krasimirgg/rustc
Browse files Browse the repository at this point in the history
adapt for rustc-dep-of-std build
  • Loading branch information
Manishearth committed Jun 4, 2024
2 parents d00d357 + 3b82122 commit e370cb8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tables.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e370cb8

Please sign in to comment.