Skip to content

Commit 375870c

Browse files
committed
expose utf8_char_width in str
1 parent 9bd740a commit 375870c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

library/core/src/str/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ use iter::SplitInclusive;
7171
#[unstable(feature = "str_internals", issue = "none")]
7272
pub use validations::next_code_point;
7373

74+
#[unstable(feature = "str_internals", issue = "none")]
75+
pub use validations::utf8_char_width;
76+
7477
use iter::MatchIndicesInternal;
7578
use iter::SplitInternal;
7679
use iter::{MatchesInternal, SplitNInternal};

0 commit comments

Comments
 (0)