diff options
Diffstat (limited to 'library/alloc/tests/c_str.rs')
| -rw-r--r-- | library/alloc/tests/c_str.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/library/alloc/tests/c_str.rs b/library/alloc/tests/c_str.rs index 8fbb10e1d5c..4a581793956 100644 --- a/library/alloc/tests/c_str.rs +++ b/library/alloc/tests/c_str.rs @@ -1,5 +1,6 @@ use std::borrow::Cow::{Borrowed, Owned}; -use std::ffi::{c_char, CStr}; +use std::ffi::CStr; +use std::os::raw::c_char; #[test] fn to_str() { |
