Standardize on the children name instead of contents.
This commit is contained in:
		
							parent
							
								
									11f127b545
								
							
						
					
					
						commit
						9ad428bb20
					
				| @ -11,5 +11,13 @@ pub struct PlainListItem<'s> { | ||||
|     pub source: &'s str, | ||||
|     pub indentation: usize, | ||||
|     pub bullet: &'s str, | ||||
|     pub contents: Vec<Element<'s>>, | ||||
|     pub children: Vec<Element<'s>>, | ||||
| } | ||||
| 
 | ||||
| #[derive(Debug)] | ||||
| pub struct GreaterBlock<'s> { | ||||
|     pub source: &'s str, | ||||
|     pub name: &'s str, | ||||
|     pub parameters: Option<&'s str>, | ||||
|     pub children: Vec<Element<'s>>, | ||||
| } | ||||
|  | ||||
| @ -71,7 +71,7 @@ pub fn plain_list_item<'r, 's>( | ||||
|                     source, | ||||
|                     indentation: indent_level, | ||||
|                     bullet: bull, | ||||
|                     contents: Vec::new(), | ||||
|                     children: Vec::new(), | ||||
|                 }, | ||||
|             )); | ||||
|         } | ||||
| @ -86,7 +86,7 @@ pub fn plain_list_item<'r, 's>( | ||||
|                     source, | ||||
|                     indentation: indent_level, | ||||
|                     bullet: bull, | ||||
|                     contents, | ||||
|                     children: contents, | ||||
|                 }, | ||||
|             )); | ||||
|         } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Tom Alexander
						Tom Alexander