Skip to content

Commit

Permalink
Remove use of reverted std::ffi::c_char
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtriplett committed Apr 27, 2022
1 parent 69a5d24 commit 42d96bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion library/alloc/tests/c_str.rs
Original file line number Diff line number Diff line change
@@ -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() {
Expand Down

0 comments on commit 42d96bb

Please sign in to comment.