Fix doctest

This commit is contained in:
Nathan Whitaker 2020-09-22 12:38:50 -04:00
parent 5ac1688f4b
commit 6ba127d3f0

View File

@ -13,6 +13,7 @@ declare_lint! {
///
/// ```rust
/// # #![allow(unused)]
/// # use std::ffi::CString;
/// let c_str = CString::new("foo").unwrap().as_ptr();
/// ```
///