We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc19592 commit 8931d14Copy full SHA for 8931d14
src/utils.rs
@@ -257,11 +257,6 @@ macro_rules! extension_trait {
257
$(#[cfg(feature = "docs")] $imp)*
258
};
259
260
- // Optimization: expand `$head` eagerly before starting a new method definition.
261
- (@ext ($($head:tt)*) #[doc = $d:literal] $($tail:tt)*) => {
262
- $($head)* extension_trait!(@ext (#[doc = $d]) $($tail)*);
263
- };
264
-
265
// Parse the return type in an extension method.
266
(@doc ($($head:tt)*) -> impl Future<Output = $out:ty> $(+ $lt:lifetime)? [$f:ty] $($tail:tt)*) => {
267
extension_trait!(@doc ($($head)* -> owned::ImplFuture<$out>) $($tail)*);
0 commit comments