We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69a5d24 commit 42d96bbCopy full SHA for 42d96bb
library/alloc/tests/c_str.rs
@@ -1,5 +1,6 @@
1
use std::borrow::Cow::{Borrowed, Owned};
2
-use std::ffi::{c_char, CStr};
+use std::ffi::CStr;
3
+use std::os::raw::c_char;
4
5
#[test]
6
fn to_str() {
0 commit comments