Skip to content

Commit

Permalink
fixup! [utf-16] Don't expose ...U16 types in the base module, just ma…
Browse files Browse the repository at this point in the history
…ke the utf16 submodule public.
  • Loading branch information
jfkthame committed Oct 30, 2023
1 parent 69aba46 commit 52cc9ee
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion benches/basic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ extern crate unicode_bidi;

use test::Bencher;

use unicode_bidi::BidiInfo;
use unicode_bidi::utf16::BidiInfo as BidiInfoU16;
use unicode_bidi::BidiInfo;

fn to_utf16(s: &str) -> Vec<u16> {
s.encode_utf16().collect()
Expand Down
2 changes: 1 addition & 1 deletion benches/udhr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ extern crate unicode_bidi;

use test::Bencher;

use unicode_bidi::BidiInfo;
use unicode_bidi::utf16::BidiInfo as BidiInfoU16;
use unicode_bidi::BidiInfo;

fn to_utf16(s: &str) -> Vec<u16> {
s.encode_utf16().collect()
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1088,7 +1088,7 @@ mod tests {
use super::*;

use utf16::{
BidiInfo as BidiInfoU16, InitialInfo as InitialInfoU16, Paragraph as ParagraphU16
BidiInfo as BidiInfoU16, InitialInfo as InitialInfoU16, Paragraph as ParagraphU16,
};

#[test]
Expand Down

0 comments on commit 52cc9ee

Please sign in to comment.