Skip to content

Commit 6849b6d

Browse files
committed
Remove leftover import of std::str in doc test
1 parent 0f8fc2c commit 6849b6d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/libstd/ffi/c_str.rs

-1
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,6 @@ impl CStr {
407407
/// # fn main() {
408408
/// use std::ffi::CStr;
409409
/// use std::os::raw::c_char;
410-
/// use std::str;
411410
///
412411
/// extern {
413412
/// fn my_string() -> *const c_char;

0 commit comments

Comments
 (0)