From 5587e19f1671b1849752572c2ea9cb726278f2ae Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Fri, 8 Sep 2023 23:12:15 -0400 Subject: [PATCH] Cleanup. --- Cargo.toml | 2 +- src/parser/section.rs | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e8981ec2..b2337923 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,7 +39,7 @@ tracing-subscriber = { version = "0.3.17", optional = true, features = ["env-fil walkdir = "2.3.3" [features] -default = ["compare"] +default = [] compare = [] tracing = ["dep:opentelemetry", "dep:opentelemetry-otlp", "dep:opentelemetry-semantic-conventions", "dep:tokio", "dep:tracing", "dep:tracing-opentelemetry", "dep:tracing-subscriber"] diff --git a/src/parser/section.rs b/src/parser/section.rs index 33b16854..bcc4f36c 100644 --- a/src/parser/section.rs +++ b/src/parser/section.rs @@ -29,7 +29,6 @@ pub fn zeroth_section<'b, 'g, 'r, 's>( context: RefContext<'b, 'g, 'r, 's>, input: OrgSource<'s>, ) -> Res, Section<'s>> { - // TODO: The zeroth section is specialized so it probably needs its own parser let contexts = [ ContextElement::ConsumeTrailingWhitespace(true), ContextElement::Context("section"), @@ -88,7 +87,6 @@ pub fn section<'b, 'g, 'r, 's>( context: RefContext<'b, 'g, 'r, 's>, mut input: OrgSource<'s>, ) -> Res, Section<'s>> { - // TODO: The zeroth section is specialized so it probably needs its own parser let contexts = [ ContextElement::ConsumeTrailingWhitespace(true), ContextElement::Context("section"),