Remove unnecessary lint allow attrs on example
This commit is contained in:
parent
e9920ef774
commit
f546633cf8
1 changed files with 0 additions and 2 deletions
|
@ -99,13 +99,11 @@
|
|||
//! pub struct Foo;
|
||||
//!
|
||||
//! #[no_mangle]
|
||||
//! #[allow(improper_ctypes_definitions)]
|
||||
//! pub extern "C" fn foo_new() -> Box<Foo> {
|
||||
//! Box::new(Foo)
|
||||
//! }
|
||||
//!
|
||||
//! #[no_mangle]
|
||||
//! #[allow(improper_ctypes_definitions)]
|
||||
//! pub extern "C" fn foo_delete(_: Option<Box<Foo>>) {}
|
||||
//! ```
|
||||
//!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue