Remove TODO.
I tested and we cannot nest different types of dynamic blocks.
This commit is contained in:
		
							parent
							
								
									de87b7df93
								
							
						
					
					
						commit
						bd5e50d558
					
				| @ -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(), | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Tom Alexander
						Tom Alexander