summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/parser/timetype.rs14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/parser/timetype.rs b/src/parser/timetype.rs
index 13f111b..37610c3 100644
--- a/src/parser/timetype.rs
+++ b/src/parser/timetype.rs
@@ -290,13 +290,13 @@ impl IntoTimeType for TimeType {
}
-/// Main entry function for timetype parser
-///
-/// # Notice
-///
-/// Note that this function returns a parser::TimeType, not a timetype::TimeType. Though, the
-/// parser::TimeType can be `Into::into()`ed.
-///
+// Main entry function for timetype parser
+//
+// # Notice
+//
+// Note that this function returns a parser::TimeType, not a timetype::TimeType. Though, the
+// parser::TimeType can be `Into::into()`ed.
+//
named!(pub timetype<TimeType>, alt!(
do_parse!(d: date >> (TimeType::Date(d))) |
do_parse!(a: amount_expr >> (TimeType::AmountExpr(a)))