File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change 122
122
//! To declare an init macro/function you just return an [`impl PinInit<T, E>`]:
123
123
//!
124
124
//! ```rust
125
- //! # #![allow(clippy::disallowed_names)]
126
125
//! # #![feature(allocator_api)]
127
126
//! # use pinned_init::*;
128
127
//! # #[path = "../examples/error.rs"] mod error; use error::Error;
@@ -410,7 +409,6 @@ macro_rules! stack_try_pin_init {
410
409
/// The syntax is almost identical to that of a normal `struct` initializer:
411
410
///
412
411
/// ```rust
413
- /// # #![allow(clippy::disallowed_names)]
414
412
/// # use pinned_init::*;
415
413
/// # use core::pin::Pin;
416
414
/// #[pin_data]
@@ -455,7 +453,6 @@ macro_rules! stack_try_pin_init {
455
453
/// To create an initializer function, simply declare it like this:
456
454
///
457
455
/// ```rust
458
- /// # #![allow(clippy::disallowed_names)]
459
456
/// # use pinned_init::*;
460
457
/// # use core::pin::Pin;
461
458
/// # #[pin_data]
@@ -510,7 +507,6 @@ macro_rules! stack_try_pin_init {
510
507
/// They can also easily embed it into their own `struct`s:
511
508
///
512
509
/// ```rust
513
- /// # #![allow(clippy::disallowed_names)]
514
510
/// # use pinned_init::*;
515
511
/// # use core::pin::Pin;
516
512
/// # #[pin_data]
You can’t perform that action at this time.
0 commit comments