diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-10-01 14:31:03 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-10-01 15:53:13 -0700 |
| commit | 4f67dcb24adb1e23f04e624fcbaf2328b82491b6 (patch) | |
| tree | e4e85184b26851431e419b8867c560863c204de8 /src/libstd/num | |
| parent | 4af849bc12e8a2ec592074b1470464efa59f06bf (diff) | |
| download | rust-4f67dcb24adb1e23f04e624fcbaf2328b82491b6.tar.gz rust-4f67dcb24adb1e23f04e624fcbaf2328b82491b6.zip | |
Migrate users of 'loop' to 'continue'
Closes #9467
Diffstat (limited to 'src/libstd/num')
| -rw-r--r-- | src/libstd/num/strconv.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/num/strconv.rs b/src/libstd/num/strconv.rs index 19e6a2dd0ef..32a6d3cd4a7 100644 --- a/src/libstd/num/strconv.rs +++ b/src/libstd/num/strconv.rs @@ -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. |
