Refactor function GetNextPrime so that the loop precondition is checked before loop instead of during every loop run. Also by removing the loop condition, it shows that the only exit from the loop is the return statement. PiperOrigin-RevId: 293932783pull/2706/head
parent
41b5f149ab
commit
139fa202c9
1 changed files with 3 additions and 3 deletions
Loading…
Reference in new issue