From ca445a7f40dc589c69ccaca914774079abb895c1 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Mon, 5 Oct 2020 20:12:55 +0900 Subject: [PATCH] Fix doctest failure --- pin-project-internal/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/pin-project-internal/src/lib.rs b/pin-project-internal/src/lib.rs index 8fd4720b..dd2888d2 100644 --- a/pin-project-internal/src/lib.rs +++ b/pin-project-internal/src/lib.rs @@ -117,6 +117,7 @@ use proc_macro::TokenStream; /// ```rust /// struct MyStruct {} /// trait MyStructMustNotImplDrop {} +/// # #[allow(unknown_lints, drop_bounds)] /// impl MyStructMustNotImplDrop for T {} /// impl MyStructMustNotImplDrop for MyStruct {} /// ```