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.
1 parent 316bdf0 commit d3b0c12Copy full SHA for d3b0c12
src/ops/mul_add.rs
@@ -28,9 +28,9 @@ pub trait MulAdd<A = Self, B = Self> {
28
fn mul_add(self, a: A, b: B) -> Self::Output;
29
}
30
31
-/// The fused multiply-add assignment operation `self = (self * a) + b`
+/// The fused multiply-add assignment operation `*self = (*self * a) + b`
32
pub trait MulAddAssign<A = Self, B = Self> {
33
- /// Performs the fused multiply-add assignment operation `self = (self * a) + b`
+ /// Performs the fused multiply-add assignment operation `*self = (*self * a) + b`
34
fn mul_add_assign(&mut self, a: A, b: B);
35
36
0 commit comments