fix: Use assignment operator for multiply operation

This commit is contained in:
Xavier Moffett 2025-07-19 02:53:30 -04:00
parent 30ad3e7d5c
commit 1a745cbb2a
Signed by: Sapphirus
GPG key ID: E967DD18119C6EEA

View file

@ -51,7 +51,7 @@ where
let mut power: i8 = 0;
while power < power_of {
value = value * multiplier;
value *= multiplier;
power += 1;
}