We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f5c3e9 commit 4cc16dbCopy full SHA for 4cc16db
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