We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
borrowed
1 parent e19ab62 commit f56a8d6Copy full SHA for f56a8d6
src/utils.rs
@@ -270,13 +270,6 @@ macro_rules! extension_trait {
270
pub struct ImplFuture<T>(core::marker::PhantomData<T>);
271
}
272
273
- // A fake `impl Future` type that borrows its environment.
274
- #[allow(dead_code)]
275
- mod borrowed {
276
- #[doc(hidden)]
277
- pub struct ImplFuture<'a, T>(core::marker::PhantomData<&'a T>);
278
- }
279
-
280
// Render a fake trait combining the bodies of the base trait and the extension trait.
281
#[cfg(feature = "docs")]
282
#[doc = $doc]
0 commit comments