Skip to content

Commit

Permalink
Fix comment gone astray
Browse files Browse the repository at this point in the history
  • Loading branch information
mkpankov committed Oct 7, 2015
1 parent 3fbbee6 commit 11a7773
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libcore/fmt/num.rs
Expand Up @@ -85,8 +85,9 @@ trait GenericRadix {
*byte = self.digit(n.to_u8()); // Store the digit in the buffer.
curr -= 1;
if x == zero {
// No more digits left to accumulate.
break
}; // No more digits left to accumulate.
};
}
}
let buf = unsafe { str::from_utf8_unchecked(&buf[curr..]) };
Expand Down

0 comments on commit 11a7773

Please sign in to comment.