diff options
| author | Luis de Bethencourt <luis@debethencourt.com> | 2013-10-05 17:30:26 -0400 |
|---|---|---|
| committer | Luis de Bethencourt <luis@debethencourt.com> | 2013-10-05 17:30:26 -0400 |
| commit | 72490c9d48050868b81ff4b2e13e43ec4750adb1 (patch) | |
| tree | fe4de7382501df0a5a11b1e4fbbf8f0d8abb8387 | |
| parent | 0c388be8d1988a966ef62c545b996b9da0f71e93 (diff) | |
| download | rust-72490c9d48050868b81ff4b2e13e43ec4750adb1.tar.gz rust-72490c9d48050868b81ff4b2e13e43ec4750adb1.zip | |
extra: remove commented out 'X' and 'x' formats
These formats are already covered with 'T' | 'X' in line 571 and 'D' | 'x' in line 446.
| -rw-r--r-- | src/libextra/time.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libextra/time.rs b/src/libextra/time.rs index c7add96fca1..f2f4f96bc7a 100644 --- a/src/libextra/time.rs +++ b/src/libextra/time.rs @@ -600,8 +600,6 @@ pub fn strptime(s: &str, format: &str) -> Result<Tm, ~str> { None => Err(~"Invalid day of week") } } - //'X' {} - //'x' {} 'Y' => { match match_digits(s, pos, 4u, false) { Some(item) => { |
