Cleanup.
This commit is contained in:
		
							parent
							
								
									18ad80e018
								
							
						
					
					
						commit
						6bd8d9efd7
					
				| @ -1,5 +1,4 @@ | ||||
| use nom::branch::alt; | ||||
| use nom::bytes::complete::is_a; | ||||
| use nom::character::complete::anychar; | ||||
| use nom::character::complete::line_ending; | ||||
| use nom::character::complete::none_of; | ||||
| @ -230,13 +229,6 @@ where | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| /// Match at least one space character.
 | ||||
| ///
 | ||||
| /// This is similar to nom's space1 parser except space1 matches both spaces and tabs whereas this only matches spaces.
 | ||||
| pub(crate) fn only_space1<'s>(input: OrgSource<'s>) -> Res<OrgSource<'s>, OrgSource<'s>> { | ||||
|     is_a(" ")(input) | ||||
| } | ||||
| 
 | ||||
| /// Match single space or tab.
 | ||||
| ///
 | ||||
| /// In org-mode syntax, spaces and tabs are often (but not always!) interchangeable.
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Tom Alexander
						Tom Alexander