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
Add a #[add(types(..))] and #[add(forward)] attributes (the same way it works for From and Into) for Add, AddAssign, Sub, SubAssign, Mul and MulAssign macros
It will help to avoid boilerplate for newtype structs.
Proposal
Add a
#[add(types(..))]
and#[add(forward)]
attributes (the same way it works forFrom
andInto
) forAdd
,AddAssign
,Sub
,SubAssign
,Mul
andMulAssign
macrosIt will help to avoid boilerplate for newtype structs.
Example
Edit1: Fixed typo.
The text was updated successfully, but these errors were encountered: