Skip to content

Commit

Permalink
Fixes the body {} deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
burner committed Jun 8, 2021
1 parent 09dabbd commit bba5b46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/money.d
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ out (result)
{
assert((result % pow10(dec_place)) == 0);
}
body
do
{
const zeros = pow10(dec_place);
/* short cut, also removes edge cases */
Expand Down

0 comments on commit bba5b46

Please sign in to comment.