From ef3bd59959085b1b633b7073ec057195e48b937a Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Fri, 18 May 2018 23:58:28 -0400 Subject: [PATCH] Minor TODO --- src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 18bc2ac..79e8245 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -628,6 +628,9 @@ impl YMD { } } + // TODO: Remove the error handling here + // We should be able to justify the UNWRAP, but I haven't + // convinced myself of that quite yet. if !year.and(month).and(day).is_some() { Err(ParseInternalError::YMDValueUnset) } else {