From 1b376f430a2a4086174ac85b5962153e7a97a920 Mon Sep 17 00:00:00 2001 From: John Nunley Date: Sun, 6 Aug 2023 11:17:09 -0700 Subject: [PATCH] Allow missing docs on the pin projection constant Temporary fix for #77 Signed-off-by: John Nunley --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 3da246e..0381904 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -441,6 +441,7 @@ macro_rules! __pin_project_constant { $(impl $($pinned_drop:tt)*)? ) => { #[allow(explicit_outlives_requirements)] // https://github.com/rust-lang/rust/issues/60993 + #[allow(missing_docs)] // https://github.com/taiki-e/pin-project-lite/issues/77 #[allow(single_use_lifetimes)] // https://github.com/rust-lang/rust/issues/55058 // This lint warns of `clippy::*` generated by external macros. // We allow this lint for compatibility with older compilers. @@ -583,6 +584,7 @@ macro_rules! __pin_project_constant { } $(impl $($pinned_drop:tt)*)? ) => { + #[allow(missing_docs)] // https://github.com/taiki-e/pin-project-lite/issues/77 #[allow(single_use_lifetimes)] // https://github.com/rust-lang/rust/issues/55058 // This lint warns of `clippy::*` generated by external macros. // We allow this lint for compatibility with older compilers.