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.
extension_trait!
1 parent b90c2cd commit 21fb4acCopy full SHA for 21fb4ac
src/utils.rs
@@ -309,14 +309,6 @@ macro_rules! extension_trait {
309
extension_trait!(@ext ($($head)* -> $f) $($tail)*);
310
};
311
312
- // Parse the return type in an extension method.
313
- (@doc ($($head:tt)*) -> impl Future<Output = $out:ty> + $lt:lifetime [$f:ty] $($tail:tt)*) => {
314
- extension_trait!(@doc ($($head)* -> borrowed::ImplFuture<$lt, $out>) $($tail)*);
315
- };
316
- (@ext ($($head:tt)*) -> impl Future<Output = $out:ty> + $lt:lifetime [$f:ty] $($tail:tt)*) => {
317
- extension_trait!(@ext ($($head)* -> $f) $($tail)*);
318
319
-
320
// Parse a token.
321
(@doc ($($head:tt)*) $token:tt $($tail:tt)*) => {
322
extension_trait!(@doc ($($head)* $token) $($tail)*);
0 commit comments