|
1 | 1 | use super::chars::{Char16, NUL_16};
|
2 | 2 | use super::strs::{CStr16, FromSliceWithNulError};
|
3 | | -use crate::alloc::vec::Vec; |
4 | 3 | use crate::data_types::strs::EqStrUntilNul;
|
5 | 4 | use crate::data_types::UnalignedSlice;
|
6 | 5 | use crate::polyfill::vec_into_raw_parts;
|
| 6 | +use alloc::vec::Vec; |
7 | 7 | use core::fmt;
|
8 | 8 | use core::ops;
|
9 | 9 |
|
@@ -155,8 +155,8 @@ impl<StrType: AsRef<str> + ?Sized> EqStrUntilNul<StrType> for CString16 {
|
155 | 155 | #[cfg(test)]
|
156 | 156 | mod tests {
|
157 | 157 | use super::*;
|
158 | | - use crate::alloc::string::String; |
159 | | - use crate::alloc::vec; |
| 158 | + use alloc::string::String; |
| 159 | + use alloc::vec; |
160 | 160 |
|
161 | 161 | #[test]
|
162 | 162 | fn test_cstring16_from_str() {
|
|
0 commit comments