Migrate users of 'loop' to 'continue'

Closes #9467
This commit is contained in:
Alex Crichton
2013-10-01 14:31:03 -07:00
parent 4af849bc12
commit 4f67dcb24a
49 changed files with 78 additions and 78 deletions

View File

@@ -355,7 +355,7 @@ pub fn float_to_str_bytes_common<T:NumCast+Zero+One+Eq+Ord+Float+Round+
}
// Skip the '.'
if buf[i] == '.' as u8 { i -= 1; loop; }
if buf[i] == '.' as u8 { i -= 1; continue; }
// Either increment the digit,
// or set to 0 if max and carry the 1.