Comment only: Annotate FIXMEs in std::time

This commit is contained in:
Tim Chevalier 2012-05-03 17:55:15 -07:00
parent 37f23303e6
commit 2830bc3d31

View file

@ -313,7 +313,8 @@ fn strptime(s: str, format: str) -> result<tm, str> {
.chain { |pos| parse_type(s, pos, 'd', tm) }
}
'H' {
// FIXME: range check.
// FIXME: range check. (#2350 -- same issue for all FIXMEs in this
// file.)
alt match_digits(s, pos, 2u, false) {
some(item) { let (v, pos) = item; tm.tm_hour = v; ok(pos) }
none { err("Invalid hour") }