You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With previous macro definition, it was not allowed to use `self` in the
method body because it had :block fragment specifier and rustc
complained that "`self` value is a keyword only available in methods with
a `self` parameter".
This changes the macro to be like a "delegation" to a function with the
actual implementation. Using :path fragment specifier so that we can
refer to functions in modules.
0 commit comments