From 42d96bb2f68c7cdc7ac67708daca0bfca37812da Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Wed, 27 Apr 2022 14:00:45 -0700 Subject: [PATCH] Remove use of reverted std::ffi::c_char --- library/alloc/tests/c_str.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() { -- 2.44.0