Fix doctest
This commit is contained in:
parent
5ac1688f4b
commit
6ba127d3f0
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@ declare_lint! {
|
|||
///
|
||||
/// ```rust
|
||||
/// # #![allow(unused)]
|
||||
/// # use std::ffi::CString;
|
||||
/// let c_str = CString::new("foo").unwrap().as_ptr();
|
||||
/// ```
|
||||
///
|
||||
|
|
Loading…
Add table
Reference in a new issue