mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
Fix doctest
This commit is contained in:
parent
5ac1688f4b
commit
6ba127d3f0
@ -13,6 +13,7 @@ declare_lint! {
|
||||
///
|
||||
/// ```rust
|
||||
/// # #![allow(unused)]
|
||||
/// # use std::ffi::CString;
|
||||
/// let c_str = CString::new("foo").unwrap().as_ptr();
|
||||
/// ```
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user