fix: Use assignment operator for multiply operation
This commit is contained in:
parent
30ad3e7d5c
commit
1a745cbb2a
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ where
|
|||
let mut power: i8 = 0;
|
||||
|
||||
while power < power_of {
|
||||
value = value * multiplier;
|
||||
value *= multiplier;
|
||||
power += 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue