From 72490c9d48050868b81ff4b2e13e43ec4750adb1 Mon Sep 17 00:00:00 2001 From: Luis de Bethencourt Date: Sat, 5 Oct 2013 17:30:26 -0400 Subject: [PATCH] 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. --- src/libextra/time.rs | 2 -- 1 file changed, 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 { None => Err(~"Invalid day of week") } } - //'X' {} - //'x' {} 'Y' => { match match_digits(s, pos, 4u, false) { Some(item) => {