remove true literal in while condition
Favor modifier while usage when having a single-line body