2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-01-30 09:15:33 +00:00

Remove unused borrowed module.

This commit is contained in:
Nicholas Nethercote 2022-03-11 10:09:01 +11:00
parent e19ab626a1
commit f56a8d6935

View file

@ -270,13 +270,6 @@ macro_rules! extension_trait {
pub struct ImplFuture<T>(core::marker::PhantomData<T>);
}
// 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]