Remove unnecessary exit matcher check.
This commit is contained in:
		
							parent
							
								
									a77d2655bd
								
							
						
					
					
						commit
						cddefdb963
					
				| @ -104,7 +104,6 @@ fn section<'r, 's>(context: Context<'r, 's>, input: &'s str) -> Res<&'s str, Sec | ||||
|             exit_matcher: ChainBehavior::AndParent(Some(§ion_end)), | ||||
|         })) | ||||
|         .with_additional_node(ContextElement::Context("section")); | ||||
|     not(|i| parser_context.check_exit_matcher(i))(input)?; | ||||
|     let element_matcher = parser_with_context!(element)(&parser_context); | ||||
|     let exit_matcher = parser_with_context!(exit_matcher_parser)(&parser_context); | ||||
|     let (remaining, (children, _exit_contents)) = verify( | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Tom Alexander
						Tom Alexander