summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2020-03-05 19:51:49 +0100
committerMatthias Beyer <mail@beyermatthias.de>2020-03-05 19:51:55 +0100
commit48d067a67c14f67741f30425c8d4d017ed85390e (patch)
tree58f74e6697310b0b77e1d3746d86e4d33df703fd
parent0b9130fd4e0a85e9603f2eee4678a6326aaf87c4 (diff)
downloadkairos-48d067a67c14f67741f30425c8d4d017ed85390e.tar.gz
kairos-48d067a67c14f67741f30425c8d4d017ed85390e.tar.xz
Downgrade comment to normal comment
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-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)))