diff options
Diffstat (limited to 'src/libcoretest/str.rs')
| -rw-r--r-- | src/libcoretest/str.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcoretest/str.rs b/src/libcoretest/str.rs index 763fcccdbfd..63d6e14a4a6 100644 --- a/src/libcoretest/str.rs +++ b/src/libcoretest/str.rs @@ -117,7 +117,7 @@ fn test_rev_split_char_iterator_no_trailing() { #[test] fn test_utf16_code_units() { - use core::str::Utf16Encoder; + use unicode::str::Utf16Encoder; assert_eq!(Utf16Encoder::new(vec!['é', '\U0001F4A9'].into_iter()).collect::<Vec<u16>>(), vec![0xE9, 0xD83D, 0xDCA9]) } |
