auto merge of #9665 : alexcrichton/rust/snapshot, r=brson

Uses the new snapshots to kill the old `loop` and introduce the new `continue`.
This commit is contained in:
bors
2013-10-02 02:31:29 -07:00
52 changed files with 108 additions and 78 deletions

View File

@@ -354,7 +354,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.