Skip to content

Commit

Permalink
Remove unnecessary lint allow attrs on example
Browse files Browse the repository at this point in the history
  • Loading branch information
MikailBag committed Feb 12, 2021
1 parent e9920ef commit f546633
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions library/alloc/src/boxed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>>) {}
//! ```
//!
Expand Down

0 comments on commit f546633

Please sign in to comment.