Skip to content

Commit

Permalink
Update "Why is this bad?"
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasavola authored Aug 7, 2024
1 parent 91823e2 commit d026c07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/detectors/1-divide-before-multiply.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ In Rust, the order of operations can influence the precision of the result, espe

## Why is this bad?

Performing a division operation before a multiplication can lead to a loss of precision as division between integers might return zero. It might even result in an unintended zero value.
Performing a division operation before a multiplication can lead to a loss of precision as division between integers might return zero.

## Issue example

Expand Down

0 comments on commit d026c07

Please sign in to comment.