Skip to content

Commit 11a7773

Browse files
committed
Fix comment gone astray
1 parent 3fbbee6 commit 11a7773

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/libcore/fmt/num.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,9 @@ trait GenericRadix {
8585
*byte = self.digit(n.to_u8()); // Store the digit in the buffer.
8686
curr -= 1;
8787
if x == zero {
88+
// No more digits left to accumulate.
8889
break
89-
}; // No more digits left to accumulate.
90+
};
9091
}
9192
}
9293
let buf = unsafe { str::from_utf8_unchecked(&buf[curr..]) };

0 commit comments

Comments
 (0)