Remove TODO.
rustfmt Build rustfmt has succeeded Details
rust-test Build rust-test has succeeded Details
rust-build Build rust-build has succeeded Details
rust-foreign-document-test Build rust-foreign-document-test has succeeded Details

I tested and we cannot nest different types of dynamic blocks.
This commit is contained in:
Tom Alexander 2023-09-21 23:58:41 -04:00
parent de87b7df93
commit bd5e50d558
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
1 changed files with 0 additions and 1 deletions

View File

@ -40,7 +40,6 @@ pub(crate) fn dynamic_block<'b, 'g, 'r, 's>(
context: RefContext<'b, 'g, 'r, 's>,
input: OrgSource<'s>,
) -> Res<OrgSource<'s>, DynamicBlock<'s>> {
// TODO: Do I need to differentiate between different dynamic block types.
if immediate_in_section(context, "dynamic block") {
return Err(nom::Err::Error(CustomError::MyError(MyError(
"Cannot nest objects of the same element".into(),