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
Copy file name to clipboardExpand all lines: impl/doc/mul.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ type in question deriving for this is not implemented.
16
16
NOTE: In case you don't want this behaviour you can add `#[mul(forward)]` in
17
17
addition to `#[derive(Mul)]`. This will instead generate a `Mul` implementation
18
18
with the same semantics as `Add`.
19
-
You can also add `#[mul(forward_and_scalar)]` to implement both, this especially useful for structs that need to be multiplicable by itself and a scalar.
19
+
You can also add `#[mul(forward_and_scalar)]` to implement bothto generate both Mul-like and Add-like semantics.
0 commit comments