Utilize while let instead of loop with break in doc-comment
#24839
+1
−5
while let instead of loop with break in doc-comment
#24839