From 48d067a67c14f67741f30425c8d4d017ed85390e Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 5 Mar 2020 19:51:49 +0100 Subject: Downgrade comment to normal comment Signed-off-by: Matthias Beyer --- src/parser/timetype.rs | 14 +++++++------- 1 file 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, alt!( do_parse!(d: date >> (TimeType::Date(d))) | do_parse!(a: amount_expr >> (TimeType::AmountExpr(a))) -- cgit v1.2.3