Skip to content

Commit f00ae88

Browse files
committed
Fix example.
1 parent 4259635 commit f00ae88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/primitive_docs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1340,7 +1340,7 @@ mod prim_f16 {}
13401340
/// # let mut x: f32 = 12.0;
13411341
/// # let a: f32 = 34.0;
13421342
/// # let b: f32 = 56.0;
1343-
/// x = x.algebraic_add(x, a.algebraic_mul(b));
1343+
/// x = x.algebraic_add(a.algebraic_mul(b));
13441344
/// ```
13451345
///
13461346
/// May be rewritten as either:

0 commit comments

Comments
 (0)