From f56a8d6935112c70a98d023630d54d1f120d6c9c Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Fri, 11 Mar 2022 10:09:01 +1100 Subject: [PATCH] Remove unused `borrowed` module. --- src/utils.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/utils.rs b/src/utils.rs index 88731d28..77111143 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -270,13 +270,6 @@ macro_rules! extension_trait { pub struct ImplFuture(core::marker::PhantomData); } - // A fake `impl Future` type that borrows its environment. - #[allow(dead_code)] - mod borrowed { - #[doc(hidden)] - pub struct ImplFuture<'a, T>(core::marker::PhantomData<&'a T>); - } - // Render a fake trait combining the bodies of the base trait and the extension trait. #[cfg(feature = "docs")] #[doc = $doc]