We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ac1688 commit 6ba127dCopy full SHA for 6ba127d
compiler/rustc_lint/src/methods.rs
@@ -13,6 +13,7 @@ declare_lint! {
13
///
14
/// ```rust
15
/// # #![allow(unused)]
16
+ /// # use std::ffi::CString;
17
/// let c_str = CString::new("foo").unwrap().as_ptr();
18
/// ```
19
0 commit comments