Skip to content

Commit 3db4afd

Browse files
authored
Rollup merge of #82023 - MikailBag:boxed-docs-unallow, r=jyn514
Remove unnecessary lint allow attrs on example It seems they are not needed anymore.
2 parents a88ae80 + f546633 commit 3db4afd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

library/alloc/src/boxed.rs

-2
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,11 @@
9999
//! pub struct Foo;
100100
//!
101101
//! #[no_mangle]
102-
//! #[allow(improper_ctypes_definitions)]
103102
//! pub extern "C" fn foo_new() -> Box<Foo> {
104103
//! Box::new(Foo)
105104
//! }
106105
//!
107106
//! #[no_mangle]
108-
//! #[allow(improper_ctypes_definitions)]
109107
//! pub extern "C" fn foo_delete(_: Option<Box<Foo>>) {}
110108
//! ```
111109
//!

0 commit comments

Comments
 (0)