From ae66d1bd89cf687d71c7f418204d0935b84f3134 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Mon, 2 Oct 2023 22:45:25 -0400 Subject: [PATCH] Fix tracing build. --- src/parser/greater_block.rs | 1 - src/parser/planning.rs | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser/greater_block.rs b/src/parser/greater_block.rs index 7ce198de..d61fb21d 100644 --- a/src/parser/greater_block.rs +++ b/src/parser/greater_block.rs @@ -93,7 +93,6 @@ fn quote_block<'b, 'g, 'r, 's>( )) } -#[cfg_attr(feature = "tracing", tracing::instrument(ret, level = "debug"))] fn special_block<'s>( name: &'s str, ) -> impl for<'b, 'g, 'r> Fn( diff --git a/src/parser/planning.rs b/src/parser/planning.rs index d7fe70e3..73b471da 100644 --- a/src/parser/planning.rs +++ b/src/parser/planning.rs @@ -63,6 +63,7 @@ pub(crate) fn planning<'b, 'g, 'r, 's>( )) } +#[derive(Debug)] enum PlanningTimestampType { Scheduled, Deadline,